随笔 - 835  文章 - 1 评论 - 40 阅读 - 102万
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

10 2018 档案
spring boot 自定义异常
摘要:1.创建一个异常: public class LdapQueryException extends Exception { private Integer code; private String message; public LdapQueryException(Integer code, St 阅读全文
posted @ 2018-10-22 14:26 lshan 阅读(176) 评论(0) 推荐(0) 编辑
eclipse模板
摘要:文件(Files)注释标签: /** * @Title: ${file_name} * @Package ${package_name} * @Description: ${todo}(用一句话描述该文件做什么) * @author Sea * @date ${date} ${time} * @ve 阅读全文
posted @ 2018-10-19 19:41 lshan 阅读(140) 评论(0) 推荐(0) 编辑
https Configure a Spring Boot app for HTTPS on Amazon AWS.
摘要:参考: https://geocolumbus.github.io/HTTPS-ELB-AWS-Spring-Boot/ 1. 在服务器端配置 证书 域名 映射 2. 导入依赖: 3.配置 (备份) @Configuration public class WebSecurityConfig exte 阅读全文
posted @ 2018-10-19 17:42 lshan 阅读(216) 评论(0) 推荐(0) 编辑
Angular5 UI post 请求 输出 文件下载
摘要:this.httpClient.post(url1, JSON.parse(data1) , {responseType: 'blob'}).subscribe(data => { const link = document.createElement('a'); const blob = new 阅读全文
posted @ 2018-10-18 13:46 lshan 阅读(137) 评论(0) 推荐(0) 编辑
DDD-002
摘要:项目实践:http://www.cnblogs.com/daoqidelv/p/7499662.html#_label0 https://www.cnblogs.com/lonelyxmas/p/7986709.html 总结(大牛) 阅读全文
posted @ 2018-10-15 21:14 lshan 阅读(267) 评论(0) 推荐(0) 编辑
windows下MongoDB的安装及配置
摘要:win 安装参考:https://blog.csdn.net/heshushun/article/details/77776706 linux 安装参考: 阅读全文
posted @ 2018-10-14 18:21 lshan 阅读(107) 评论(0) 推荐(0) 编辑
SpringMVC后台接收list类型的数据的实现方式
摘要:参考:https://www.cnblogs.com/hafiz/p/5498936.html 阅读全文
posted @ 2018-10-12 19:26 lshan 阅读(268) 评论(0) 推荐(0) 编辑
MOCK 基本使用例子
摘要:package com.icil.esolution.orders; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.fileUpload; import static org.springframework.test.web.servlet.request.MockMvcReq... 阅读全文
posted @ 2018-10-12 17:05 lshan 阅读(2329) 评论(0) 推荐(0) 编辑
自定义BeanUtils beanToMap (bean 转insert sql)
摘要:beanToMap public static <T> Map<String, Object> beanToMap(T t) { Map<String, Object> result = new HashMap<>(); try { Field[] fields = t.getClass().get 阅读全文
posted @ 2018-10-09 18:20 lshan 阅读(529) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示