上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 52 下一页
摘要: 1.在会话中获得远程IP和端口@Override public void messageReceived(IoSession session, Object message) throws Exception { InetSocketAddress remoteAddress = (InetSock 阅读全文
posted @ 2018-09-06 15:21 huiy_小溪 阅读(251) 评论(0) 推荐(0)
摘要: 1.根据条件动态增删检查条件 参考文章:https://blog.csdn.net/sxlzs_/article/details/78211928 #去除某字段的验证 $("#formResource").bootstrapValidator('removeField', 'permission') 阅读全文
posted @ 2018-09-04 12:03 huiy_小溪 阅读(6258) 评论(0) 推荐(0)
摘要: 1.报错:DefaultHandshakeHandler : Handshake failed due to invalid Upgrade header参考文章:https://www.cnblogs.com/interdrp/p/7729718.html在nginx中添加蓝色配置:server 阅读全文
posted @ 2018-08-27 22:17 huiy_小溪 阅读(415) 评论(0) 推荐(0)
摘要: 1.label显示不全参考文章:https://blog.csdn.net/w605283073/article/details/52141955发现是与bootstrap冲突,解决办法:.baidu-maps label { max-width: none;} 阅读全文
posted @ 2018-08-27 13:45 huiy_小溪 阅读(236) 评论(0) 推荐(0)
摘要: 原文:https://www.cnblogs.com/fuyuanming/articles/5453756.html1.JS网页可见区域宽: document.body.clientWidth 网页可见区域高: document.body.clientHeight 网页可见区域宽: documen 阅读全文
posted @ 2018-08-22 16:30 huiy_小溪 阅读(166) 评论(0) 推荐(0)
摘要: GPS 上电后,每隔一定的时间就会返回一定格式的数据,数据格式为:$信息类型,x,x,x,x,x,x,x,x,x,x,x,x,x每行开头的字符都是'$',接着是信息类型,后面是数据,以逗号分隔开。1.GPRMC$GPRMC 例:$GPRMC,024813.640,A,3158.4608,N,1184 阅读全文
posted @ 2018-08-20 14:54 huiy_小溪 阅读(282) 评论(0) 推荐(0)
摘要: 第一个数据源:import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Component @Config 阅读全文
posted @ 2018-08-17 12:44 huiy_小溪 阅读(379) 评论(0) 推荐(0)
摘要: 有次创建springboot工程时报错,在之前是没有问题的。见下:出现这种情况,有时在URL最后加一个反斜杠就可以了,但是这次不行,加了也没有用。后来把URL改成了:http://start.spring.io,用HTTP访问。就一切OK了。 阅读全文
posted @ 2018-08-17 07:43 huiy_小溪 阅读(7257) 评论(0) 推荐(0)
摘要: 需求:提交一个字符串到后端的java.sql.Time类型,就报错了:Failed to convert property value of type [java.lang.String] to required type [java.sql.Time]正常提交到java.util.Date类型是没 阅读全文
posted @ 2018-08-15 16:46 huiy_小溪 阅读(4038) 评论(0) 推荐(0)
摘要: 1.NPM安装报错:no such file or directory, open 'C:\Users\HP\package.json'npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\HP\package.js 阅读全文
posted @ 2018-08-14 16:33 huiy_小溪 阅读(225) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 52 下一页