前端
时间不等谁
爱编码
展开
-
Mybatis-Plus 分页无效坑,配置错了
错误配置代码// @Bean// public PaginationInnerInterceptor paginationInnerInterceptor(){// PaginationInnerInterceptor paginationInnerInterceptor = new PaginationInnerInterceptor();// return paginationInnerInterceptor;// }正确配置代码 @Bean原创 2020-10-15 20:09:49 · 3220 阅读 · 1 评论 -
前端WebSocket配置
代码initWebSocket: function () { // WebSocket与普通的请求所用协议有所不同,ws等同于http,wss等同于https var url = "http://localhost:39010".replace("https://","wss://").replace("http://","ws://")+"/websocket/"+"1"; console.log(url); this.websock = new WebS原创 2020-10-22 16:02:26 · 1581 阅读 · 0 评论