Spring 文档
Spring Web
es
Github deploy key
Bootstrap
Github Oauth Documents
注册Github oauth App
OKHTTP
Spring-boot-mybatis
Thymeleaf
spring-mvc
mabatis-generator
Markdown 插件
Git
Visval Paradigm
flyway
lombok
小图标工具
@Component 初始化到Spring中,用@AutoWired注入,无需new
@Value 用于获取Application.properties 中的配置 @Value("${key}")
logging.level.life.majiang.community.demo.mapper=debug
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
打印数据库执行日志 debug 级别
logging.file.max-history=3
最多纪录三天的日志 与文件超出大小后自动创建的文件数量无关,至于
日期有关
线上环境
logging.file.max-size=200MB
logging.file.max-history=30
mvn flyway:migrate
mvn -Dmybatis.generator.overwrite=true mybatis-generator:generate
markdown 使用图片上传功能需修改 image-dialog.js
javascript
var body = (uploadIframe.contentWindow ? uploadIframe.contentWindow : uploadIframe.contentDocument).document.body;
var jsonContainer = body.getElementsByTagName("pre")[0];
var json = (jsonContainer.innerText) ? jsonContainer.innerText : ( (jsonContainer.textContent) ? jsonContainer.textContent : null);