摘要: import java.util.ResourceBundle; import org.slf4j.Logger;import org.slf4j.LoggerFactory; import com.alibaba.fastjson.JSONObject; public class WxUserIn 阅读全文
posted @ 2019-09-25 15:01 G_Lybbh 阅读(1164) 评论(0) 推荐(0) 编辑
摘要: unicode编码 (\u4e0a\u6d77) 中文 互转 js //转为unicode 编码 function encodeUnicode(str) { var res = []; for ( var i=0; i<str.length; i++ ) { res[i] = ( "00" + st 阅读全文
posted @ 2019-09-25 14:46 G_Lybbh 阅读(1774) 评论(0) 推荐(0) 编辑
摘要: 修改编码 阅读全文
posted @ 2019-08-07 09:30 G_Lybbh 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1.network all 所有请求 XHR ajax请求 WS websocket请求 阅读全文
posted @ 2019-05-27 15:05 G_Lybbh 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1. 转百分比 java控制器 json转百分比 NumberFormat number = NumberFormat.getPercentInstance(); number.setMaximumFractionDigits(0);//设置小数点后几位 double answerDurPre20D 阅读全文
posted @ 2019-05-27 10:20 G_Lybbh 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1.html页面 添加拨打按键 拨打按键 下面 添加 音频流/视频流 2 引入 sip.js 和 **.js **.js页面 获取各个元素 创建 simple实例 3. addEventListener()事件 绑定拨打点击事件 simple.call()拨打 simple.hangup()结束 s 阅读全文
posted @ 2019-04-26 11:21 G_Lybbh 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 1. **.focus(); 获取焦点 .focus({ ****获取焦点执行时间 }) 2.hide(); 隐藏 3.click 点击执行事件 4. addEventListener() 为 <button> 元素添加点击事件。 当用户点击按钮时 执行 element.addEventListen 阅读全文
posted @ 2019-04-25 16:57 G_Lybbh 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.页面 加载初始化 阅读全文
posted @ 2019-04-24 14:10 G_Lybbh 阅读(122) 评论(0) 推荐(0) 编辑
摘要: HTML5 storage提供了一种方式让网站能够把信息存储到你本地的计算机上,并再以后需要的时候进行获取。这个概念和cookie相似,区别是它是为了更大容量存储设计的。Cookie的大小是受限的,并且每次你请求一个新的页面的时候cookie都会被发送过去。HTML5的storage是存储在你的计算 阅读全文
posted @ 2019-04-24 10:37 G_Lybbh 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1.jsp 中 <% String contextPath = request.getContextPath(); request.setAttribute("contextPath", contextPath);%> http://localhost:8080/Info_System/user/u 阅读全文
posted @ 2019-04-23 09:25 G_Lybbh 阅读(274) 评论(0) 推荐(0) 编辑