摘要: 开始 >运行 >cmd,或者是window+R组合键,调出命令窗口 C:\Windows\System32 按住 shift键 调出命令窗口 输入命令:netstat -ano,列出所有端口的情况。在列表中我们观察被占用的端口 查看被占用端口对应的PID,输入命令:netstat -aon|find 阅读全文
posted @ 2018-08-22 19:42 逝年的我们 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 如果在html触发点击事件(在javaScrpit中)不起作用可以这样做, <button id="cancel" class="round5 btn1" onclick="javascript:window.history.back();return false;">返回</button> 阅读全文
posted @ 2018-08-09 09:54 逝年的我们 阅读(2202) 评论(0) 推荐(0) 编辑
摘要: 五、Http抓包操作步骤 Step 1:开启Charleshttp代理; Step 2:手机端Wifi添加代理; Step 3:开启Charles录制功能; Step 4:启动应用开始抓包; Step 5:分析抓取的数据包。 五、Http抓包操作步骤 Step 1:开启Charleshttp代理; 阅读全文
posted @ 2018-07-30 18:05 逝年的我们 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 一 BigDecimal num = new BigDecimal("2.225667");//一般都会这样写最好 int count = num.scale(); System.out.println(count);//6 返回的是小数点后位数 1. ROUND_DOWN BigDecimal b 阅读全文
posted @ 2018-07-16 16:03 逝年的我们 阅读(79454) 评论(2) 推荐(3) 编辑
摘要: Map<String, Object> resultMap = new HashMap<>(); resultMap!=null 如果resultMap从数据库直接返回的查询结果为空可以判断掉 阅读全文
posted @ 2018-07-03 15:03 逝年的我们 阅读(738) 评论(0) 推荐(0) 编辑
摘要: 1.在logs目录下创建一个用来存放数据的文件 test.log,命令为 2.使用命令将catalina.out文件的最后n行输出到test.log中,命令为 如想要把最后10000行输出到test.log中,则使用 阅读全文
posted @ 2018-07-02 13:55 逝年的我们 阅读(2175) 评论(0) 推荐(0) 编辑
摘要: public int compareTo(BigDecimal val) { // Quick path for equal scale and non-inflated case. if (scale == val.scale) { long xs = intCompact; long ys = 阅读全文
posted @ 2018-07-02 10:34 逝年的我们 阅读(2922) 评论(0) 推荐(0) 编辑
摘要: int totalFee = (int)(Double.parseDouble(paramMap.get("totalFee").toString())*100); int totalFee = (int)(Float.parseFloat(paramMap.get("totalFee").toSt 阅读全文
posted @ 2018-06-29 17:31 逝年的我们 阅读(3126) 评论(0) 推荐(0) 编辑
摘要: public static String TM_API_SERVER_HOST = PropertiesUtil.getProperty("config/im.properties", "TIM_HOST"); public static String getProperty(String resource, String key) { Properties p... 阅读全文
posted @ 2018-06-06 17:50 逝年的我们 阅读(337) 评论(0) 推荐(0) 编辑
摘要: ArrayNode extends ContainerNode ContainerNode extends ObjectNode eg(调用的是云通讯,添加群组成员): public static String addUserGroupByTm(String groupid, String user 阅读全文
posted @ 2018-06-06 16:04 逝年的我们 阅读(8694) 评论(0) 推荐(0) 编辑