上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页
摘要: 转自:https://blog.csdn.net/wts563540/article/details/108418454 1、JSON.parseObject和JSON.toJSONString JSON.parseObject,是将Json字符串转化为相应的对象;JSON.toJSONString 阅读全文
posted @ 2023-04-23 09:28 sensen~||^_^|||& 阅读(38) 评论(0) 推荐(0)
摘要: 转自:https://blog.csdn.net/Mr_YanMingXin/article/details/122523124 1 RestTemplate简介在java代码里想要进行restful web client服务,一般使用Apache的HttpClient。不过此种方法使用起来太过繁琐 阅读全文
posted @ 2023-04-21 16:44 sensen~||^_^|||& 阅读(230) 评论(0) 推荐(0)
摘要: 转自:https://office.tqzw.net.cn/computer/windows/28554.html windows10总是隔几分钟就自动开启代理,然后就无法打开网页。还有时候代理服务器开关没有自动打开,但是就是莫名其妙就无法上网上,打开只要代理服务器设置的页面,然后就又可以上网了。这 阅读全文
posted @ 2023-04-20 08:39 sensen~||^_^|||& 阅读(1782) 评论(0) 推荐(0)
摘要: //判断是否离线private Boolean isTOday(String time){ Date today = new Date(); SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd"); String format 阅读全文
posted @ 2023-04-19 08:48 sensen~||^_^|||& 阅读(269) 评论(0) 推荐(0)
摘要: 1. Controller: /** * 通过id查询树列表 * @param id */@GetMapping("/listById")private Result listByParentId(String id) { String stationTelecode = getStation(ge 阅读全文
posted @ 2023-04-18 15:43 sensen~||^_^|||& 阅读(103) 评论(0) 推荐(0)
摘要: /** * 根据id查询树节点层级(0、1、2...) * @param id 主键id,code * @return 该树节点的层级 */ @Overridepublic Integer findLevelById(String id, String stationTelecode) { coun 阅读全文
posted @ 2023-04-18 14:46 sensen~||^_^|||& 阅读(434) 评论(0) 推荐(0)
摘要: 1.Controller: /** * 区域树生成 */@GetMapping("/list")private Result regionTree() { Station station = getStation(getUser()); String stationCode = station.ge 阅读全文
posted @ 2023-04-17 13:40 sensen~||^_^|||& 阅读(77) 评论(0) 推荐(0)
摘要: public class TelnetTest { @Test public void telnetTest(){ long start = System.currentTimeMillis(); boolean flag = telnet("192.1.1.132",8100,1000); lon 阅读全文
posted @ 2023-03-16 12:28 sensen~||^_^|||& 阅读(16) 评论(0) 推荐(0)
摘要: eg: SET FOREIGN_KEY_CHECKS = 0;truncate t_user;truncate t_shop;SET FOREIGN_KEY_CHECKS = 1; 阅读全文
posted @ 2023-03-16 08:17 sensen~||^_^|||& 阅读(29) 评论(0) 推荐(0)
摘要: 使用xshell软件ssh连接远程控制系统时,输入用户名后,发现默认不可通过password登录,但是可通过Public Key和Keyboard Interactive方式进行连接: 1.修改远程控制系统的sudo vim /etc/ssh/sshd_config,找到PasswordAuthen 阅读全文
posted @ 2023-03-09 14:16 sensen~||^_^|||& 阅读(211) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页