上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 82 下一页
摘要: 参考:https://www.cnblogs.com/guoke-jsp/p/6047496.html 阅读全文
posted @ 2019-01-25 15:25 lshan 阅读(432) 评论(0) 推荐(0) 编辑
摘要: #方式1:@Configuration @EnableWebMvc public class CorsConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { 阅读全文
posted @ 2019-01-25 14:48 lshan 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 参考一: http 流的方式 https://blog.csdn.net/u011350550/article/details/83340657 参考二: spring boot +websocket 服务器主动推送消息 https://blog.csdn.net/qq_35638499/artic 阅读全文
posted @ 2019-01-25 14:29 lshan 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: 场景1: 验证VO字段 场景2:一个Bean ,需要在不同情况下分别做分组验证 场景3:springboot , 统一验证异常处理(需要在不同情况下分别做分组验证) 场景1: 验证VO字段 Bean: @Data @Document(collection = "booking") public cl 阅读全文
posted @ 2019-01-24 12:17 lshan 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Properties properties = PropertiesLoaderUtils.loadProperties(new ClassPathResource("properties/statusMapping.properties")); //path springboot --> reso 阅读全文
posted @ 2019-01-17 17:32 lshan 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/superfj/p/9232482.html redis 工具类 redis的key工具类 package com.util; /** * redisKey设计 */ public class RedisKeyUtil { /** * redis 阅读全文
posted @ 2019-01-15 13:48 lshan 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> application.propert 阅读全文
posted @ 2019-01-15 13:07 lshan 阅读(249) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-01-15 12:24 lshan 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 参考: redis : https://blog.csdn.net/qq_26709459/article/details/80159468 redisdesktop: https://redisdesktop.com/download 阅读全文
posted @ 2019-01-15 10:56 lshan 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 23种设计模式: 总结计较好的一篇:https://lijie.blog.csdn.net/article/details/105462226 来自:http://www.runoob.com/design-pattern/state-pattern.html 另一个参考:https://www.c 阅读全文
posted @ 2019-01-10 09:41 lshan 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 82 下一页