摘要: 1 json string 转 JSONObject try { JSONObject jsonObject = new JSONObject("{\"phonetype\":\"N95\",\"cat\":\"WP\"}"); }catch (JSONException err){ Log.d(" 阅读全文
posted @ 2019-12-28 18:29 wolbo 阅读(4984) 评论(0) 推荐(0)
摘要: 场景 //防止sql注入 Stream<String> idList =accDocIDList.stream().map((x) -> { if (x.matches("[^a-zA-Z0-9-]")) { //throw new BalanceException("xxx-xxx", "hehe 阅读全文
posted @ 2019-12-28 16:38 wolbo 阅读(2967) 评论(0) 推荐(0)
摘要: https://sqlbackupandftp.com/blog/how-to-backup-and-restore-postgresql-database 1 备份 pg_dump -v -f gscloud1912 -C -h 10.24.12.143 -U gscloud1912 gsclou 阅读全文
posted @ 2019-12-28 15:04 wolbo 阅读(518) 评论(0) 推荐(0)