- 博客(15)
- 资源 (25)
- 收藏
- 关注
原创 网页json传值
网页json传值function getNews() { //通知公告栏目显示 mui.ajax({ type: "post", dataType: "json", url: URL_APP_SERVER_NEWS, success: function(msg) {// console.log(JSON.stringify(msg...
2018-04-07 09:39:56 232 1
原创 md5加密
md5加密 try { MessageDigest md5=MessageDigest.getInstance("MD5"); File file = new File("C:\\Users\\wjw\\Desktop\\外贸\\山东外贸app页面设计参考.docx"); FileInputStream fileInputStream = new FileInputStream(...
2018-04-07 09:38:42 136
原创 有赞接口
有赞接口public class Test { private static final String APP_ID = "7edd2c64f8c645516c"; //这里换成你的app_id private static final String APP_SECRET = "00fcddd10e5660142f6d5d26acfc66f6"; //这里换成你的app_secr...
2018-04-07 09:37:13 1905
原创 ajax登录
ajax登录public class MyLogin{ public static String ajaxLogin(HttpServletRequest request, HttpServletResponse response) { String message = null; try { message = ajaxLoginDo(request, re...
2018-04-07 09:35:46 299
原创 微信发消息
微信发消息public class WxNoticeSend { /** * 发送提醒 * @param jsonContext * @return */ public boolean sendNotice(String jsonContext){ JSONObject jsono = sendReqMsg(jsonContext, WxHelper.CORPID, WxH...
2018-04-05 16:43:06 334
原创 微信js签名
微信js签名public class HelloJSAPI { public static void main(String[] args) { String jsapi_ticket=JSAPITicketCache.getJsapiTicketFromWx(WxHelper.CORPID, WxHelper.RESP_MSG_SECRET); for(Map.Entry<Str...
2018-04-05 16:42:25 240
原创 微信回调信息
微信回调信息/** * 微信回调信息处理函数 * @author hrcui 2017-3-14 * */public class WxInfoDeal { public static String processRequest(HttpServletRequest request,HttpServletResponse response){ //微信加密签名 String s...
2018-04-05 16:41:32 599
原创 微信机器人
微信机器人public class TulingAPI { public static void main(String[] args) throws Exception { tuLingJiqiren("hello!"); } /** * * @param str 发送内容 * @return 回答 * @throws Exception */ public s...
2018-04-05 16:40:16 268
原创 微信ticket
微信ticketpublic class JSAPITicketCache { public static String jsapi_ticket; public static Date jsapi_ticket_date; public static long jsapi_ticket_expires_in=7200L; public static String getJsapiTick...
2018-04-05 16:39:30 1347
原创 微信企业号
微信企业号public class Helloworld { private static String corpId="wx9e6b5f7e6b9f86a2"; private static String corpsecret="vsKgDKA-m4wDlZCRfkv33FgJIuIz07xnX8Cv43pykKZ-D1BYcUiou0Pn7hH6bRmi"; public static ...
2018-04-05 16:38:23 219
原创 微信accesstoken缓存处理
微信accesstoken/** * AccessToken缓存处理 * */public class AccessTokenCache { //主动调用的access_token public static String access_token; //主动调用的请求时间 public static Date access_token_date; //token的有效时间,...
2018-04-05 16:37:20 1537
原创 liveb登录
liveb登录public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { JSONObject jsono=WxHelper.OAuth(request, response); System.out.println(...
2018-04-05 16:35:53 943
原创 微信notice处理
微信notice处理public class WxNoticeDeal extends HttpServlet { private WxNoticeSend wns=null; private WxNoticeSend getWxNoticeSend(){ if(wns==null)wns=new WxNoticeSend(); return wns; } public void ...
2018-04-05 16:34:28 906
原创 地图js
地图js<script type="text/javascript"> $(document).ready(function(){ // 地图API功能 var map = new BMap.Map("map"); // 创建Map实例 var point = new BMap.Point(118.028431, 36.812302); map.center...
2018-04-05 16:33:14 188
原创 generater生成器
generater生成器request{url,function(err,res,body){ if(err) handleError(err) fs.writeFile('1.txt,'body,function(err){ request(url2,function(err,res,body){ if(err) handleError(err) }) })...
2018-04-05 16:31:34 2272
SYW95A-V3 Software Users Manual SChinese.pdf
2020-06-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人