上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 82 下一页
摘要: List<LazadaTrackingDataTO> dataSourceList = new ArrayList<LazadaTrackingDataTO>(); if (packages.size() > 1000) { int i = 0, j = 1000; while (true) { i 阅读全文
posted @ 2018-09-17 10:09 lshan 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 可以参考:https://blog.csdn.net/zajiayouzai/article/details/80612729 项目的构建: 1.父工程:pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.a 阅读全文
posted @ 2018-09-16 23:55 lshan 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/itguangit/article/details/78825505 REST的基础知识 参考我的这篇文章: Restful API 设计指南 当谈论REST时,有一种常见的错误就是将其视为“基于URL的Web服务”——将REST作为另一 种类型的远 阅读全文
posted @ 2018-09-16 19:24 lshan 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/motui/article/details/79012846 阅读全文
posted @ 2018-09-13 11:03 lshan 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1.在resoures下创建resoures/error文件夹 在其中自定义:404.html 403.html 500.html 阅读全文
posted @ 2018-09-02 20:36 lshan 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1.配置session的超时时间 : 在application.prooperties中 server.session.timeout = 600 //以秒为单位,默认最少一分钟 2.配置集群管理session:spring.session.store-type = redis; 支持类型 3. 配 阅读全文
posted @ 2018-09-02 19:43 lshan 阅读(2114) 评论(0) 推荐(0) 编辑
摘要: 依赖: 使用:在你要生成接口处加上注解@EnableSwagger2 ,此处是整个项目都要,不建议这么玩, 建议加在controller上 自定义标题:配置:(这个可以不配置) 方法描述: 在方法上加上 @ApiOperation 效果: 参数描述:1. 参数是 包装类 或者模型 如PartDO 在 阅读全文
posted @ 2018-09-01 18:59 lshan 阅读(7251) 评论(0) 推荐(0) 编辑
摘要: 比较实用的一些参考: https://www.cnblogs.com/yaogua/p/8012951.html https://www.cnblogs.com/aston/p/9053201.html DateUtils: import lombok.extern.slf4j.Slf4j; imp 阅读全文
posted @ 2018-09-01 16:54 lshan 阅读(223) 评论(0) 推荐(0) 编辑
摘要: AWS Access Key ID [****************test]: adasdsadasd AWS Secret Access Key [****************2016]: U4fdOdasdsadsad Default region name [ap-southeast- 阅读全文
posted @ 2018-08-30 18:10 lshan 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/dunitian/p/5581520.html 阅读全文
posted @ 2018-08-29 22:27 lshan 阅读(172) 评论(0) 推荐(0) 编辑
上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 82 下一页