properties屬性:
https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
http://412887952-qq-com.iteye.com/blog/2291500--系列文章--上
http://www.iteye.com/topic/1144751---------------------系列文章--下
http://412887952-qq-com.iteye.com/?page=7
http://blog.csdn.net/linxingliang/article/details/52324902--系列
http://blog.csdn.net/catoop/article/details/50501664--xilie
http://blog.csdn.net/isea533/article/details/50278205-入門
https://my.oschina.net/wangnian/blog/657207--druid
http://blog.csdn.net/sosfnima/article/details/51993700--系列
http://412887952-qq-com.iteye.com/category/356333--angle
http://blog.csdn.net/kkgbn/article/details/51453765--系列
http://www.cnblogs.com/java-zhao/p/5449152.html-mybatis打印sql
http://aub.iteye.com/blog/1896611--logback系列
http://blog.didispace.com/spring-boot-rabbitmq/---springboot中使用mq
http://blog.didispace.com/--springcloud
http://bbs.springcloud.cn/---中文社區(qū)
http://bbs.springcloud.cn/d/2-dd-spring-boot--
http://412887952-qq-com.iteye.com/blog/2344171--群主視頻
https://www.gitbook.com/book/qbgbook/spring-boot-reference-guide-zh/details--翻譯
http://git.oschina.net/didispace/SpringBoot-Learning---教程
http://blog.didispace.com/----博客
http://blog.csdn.net/yeyincai/article/details/51702059?locationNum=9&fps=1----總結(jié)
https://yq.aliyun.com/articles/2322-----admin監(jiān)控
https://yq.aliyun.com/articles/8302?spm=5176.100239.blogrightarea2322.18.WLP3BJ---注解多數(shù)據(jù)源
https://yq.aliyun.com/articles/54069?spm=5176.100239.blogcont54068.21.bj5EW7--系列文章
http://www.cnblogs.com/skyblog/p/5127712.html-《7天學(xué)會(huì)springcloud》
http://blog.csdn.net/qiutongyeluo/article/category/6306088
http://www.cnblogs.com/larryzeal/p/5765945.html-系列
http://blog.csdn.net/forezp/article/details/70148833
http://www.itmuch.com/
https://springcloud.cc/
https://javablog.net/
/**
- 400 - Bad Request
/
@ResponseStatus(HttpStatus.BAD_REQUEST)
@ExceptionHandler(ConstraintViolationException.class)
public AjaxResult handleServiceException(ConstraintViolationException e) {
logger.error("參數(shù)驗(yàn)證失敗", e);
Set<ConstraintViolation<?>> violations = e.getConstraintViolations();
ConstraintViolation<?> violation = violations.iterator().next();
String message = violation.getMessage();
return new AjaxResult().failure("parameter:" + message);
}
/* - 500 - Internal Server Error
*/
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
@ExceptionHandler(Exception.class)
public AjaxResult handleException(Exception e) {
logger.error("通用異常", e);
return new AjaxResult().failure("通用異常:" + e.getMessage());
}