摘要:
ClassPathResource resource = new ClassPathResource("properties/post2LazadaTest.json"); File file= = resource.getFile(); JSONArray btnArray = null; //读取文件 Strin...
阅读全文
posted @ 2019-03-21 17:52
lshan
阅读(259)
推荐(0)
posted @ 2019-03-15 12:31
lshan
阅读(2)
推荐(0)
摘要:
依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> redisUtils: import
阅读全文
posted @ 2019-03-12 16:07
lshan
阅读(146)
推荐(0)
摘要:
参考: https://blog.csdn.net/qq_26709459/article/details/80159468 redis 安装与配置 Remark: 请务必开放端口 6379 ,否则其它服务无法连接 Team Server IP Domain port $Dev IP 192.160
阅读全文
posted @ 2019-03-08 14:19
lshan
阅读(1483)
推荐(0)
摘要:
参考:https://blog.csdn.net/tianjiewang/article/details/58383062 docker run -itd --restart=always --hostname my-rabbit --name sea-rabbit -p 15672:15672 -
阅读全文
posted @ 2019-03-08 11:08
lshan
阅读(2287)
推荐(0)
摘要:
https://blog.csdn.net/hellozpc/article/details/81436980
阅读全文
posted @ 2019-03-08 10:32
lshan
阅读(220)
推荐(0)
摘要:
<- 依赖 !-> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> @Aspect @Component p
阅读全文
posted @ 2019-03-07 17:48
lshan
阅读(517)
推荐(0)
摘要:
@Entity //不写@Table默认为user @Table(name="t_user",schema="DB_name") //自定义表名 public class user { @Id //主键 @GeneratedValue(strategy = GenerationType.AUTO)//采用数据库自增方式生成主键 //JPA提供的四种标准用法为TABLE...
阅读全文
posted @ 2019-03-06 12:06
lshan
阅读(1614)
推荐(1)
摘要:
依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 配置: server.port=999
阅读全文
posted @ 2019-02-25 16:08
lshan
阅读(440)
推荐(0)
摘要:
阿里巴巴分布式数据库同步系统(解决中美异地机房) 基本介绍: https://github.com/alibaba/otter 快速使用: https://github.com/alibaba/otter/wiki/QuickStart
阅读全文
posted @ 2019-02-22 14:56
lshan
阅读(361)
推荐(0)