摘要: Map<String, String> map = new HashMap<>();map.put("A", "65");map.put("B", "66");for (String key : map.keySet()) { String value = map.get(key); System. 阅读全文
posted @ 2024-09-12 11:00 fxg 阅读(5) 评论(0) 推荐(0) 编辑
摘要: jrebel使用: https://blog.csdn.net/qq_41071754/article/details/110179996 阅读全文
posted @ 2024-09-10 14:14 fxg 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 转地址: https://blog.csdn.net/qq251708339/article/details/134105044 ip地址:http://42.193.18.168/guid guid生成地址https://www.iamwawa.cn/guid.html&wd=&eqid=acde 阅读全文
posted @ 2024-09-10 14:06 fxg 阅读(365) 评论(0) 推荐(0) 编辑
摘要: String date = "2017-09-19 14:40:01"; String date = "2017/09-19 14:40:01";String response = date.replaceAll("[[\\s-:punct:]]","").replaceAll("[[\\s/:pu 阅读全文
posted @ 2024-07-03 10:25 fxg 阅读(4) 评论(0) 推荐(0) 编辑
摘要: map 转json Map<String, Object> map = new HashMap<>(); map.put("key1", "value1"); map.put("key2", 123); map.put("key3", new Object()); System.out.printl 阅读全文
posted @ 2024-06-26 10:49 fxg 阅读(8) 评论(0) 推荐(0) 编辑
摘要: private static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) { return true; //总是接受 } 阅读全文
posted @ 2024-06-15 16:01 fxg 阅读(35) 评论(0) 推荐(0) 编辑
摘要: Intellij IDEA使用@Autowired注解,出现could not autowire错误,解决方案 地址: https://blog.csdn.net/rambler_designer/article/details/89040125 阅读全文
posted @ 2024-06-10 13:59 fxg 阅读(14) 评论(0) 推荐(0) 编辑
摘要: function getCurrDate(time){ const date = new Date(time); const year = date.getFullYear(); const month = String(date.getMonth() + 1).padStart(2, '0'); 阅读全文
posted @ 2024-06-07 15:51 fxg 阅读(8) 评论(0) 推荐(0) 编辑
摘要: //示例1 const jsonString = '{"name":"John", "age":30, "city":"New York"}'; const jsonObject = JSON.parse(jsonString); console.log(jsonObject["name"]); / 阅读全文
posted @ 2024-06-07 11:54 fxg 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 基于前面写的内容,我们可以快速读取一个数组的JSON串了,直接上代码: procedure TForm6.Button2Click(Sender: TObject); begin var jsonstr:= '{' + ' "code": 0,' + ' "msg": "Success",' + ' 阅读全文
posted @ 2023-09-01 10:14 fxg 阅读(12) 评论(0) 推荐(0) 编辑