上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 87 下一页
摘要: 场景1: 验证VO字段 场景2:一个Bean ,需要在不同情况下分别做分组验证 场景3:springboot , 统一验证异常处理(需要在不同情况下分别做分组验证) 场景1: 验证VO字段 Bean: @Data @Document(collection = "booking") public cl 阅读全文
posted @ 2019-01-24 12:17 lshan 阅读(135) 评论(0) 推荐(0)
摘要: Properties properties = PropertiesLoaderUtils.loadProperties(new ClassPathResource("properties/statusMapping.properties")); //path springboot --> reso 阅读全文
posted @ 2019-01-17 17:32 lshan 阅读(234) 评论(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 阅读(604) 评论(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 阅读(261) 评论(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 阅读(91) 评论(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 阅读(203) 评论(0) 推荐(0)
摘要: 命令: curl -X POST -d @/etc/lazada/lazada_tracking.txt http://localhost:8080/booking/rs/LazadaService/post --header "Content-Type:application/json" -d 后 阅读全文
posted @ 2019-01-09 12:02 lshan 阅读(419) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/m0_37327416/article/details/76185051 1、jvm内存管理机制: 1)堆(Heap)和非堆(Non-heap)内存 按照官方的说法:“Java 虚拟机具有一个堆,堆是运行时数据区域,所有类实例和数组的内存均从此处分配 阅读全文
posted @ 2018-12-30 16:28 lshan 阅读(325) 评论(0) 推荐(0)
摘要: Ubuntu14.04 1. 选择安装的目录cd /home/sea2. git clone https://github.com/mrvautin/adminMongo.git && cd adminMongo3. 安装依赖 npm install npm ERR! write after end 阅读全文
posted @ 2018-12-29 10:39 lshan 阅读(203) 评论(0) 推荐(0)
上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 87 下一页