1.idea添加类注释,方法注释添加链接描述
“/**” + tab
2.BindingResult使用
在实体类中加入@NotEmpty等注解,使用的是hibernate.validator
3.CommonResult使用
新增CommonResult类,统一返回格式
参考
4.token使用
5.引入security加密用户密码导致项目页面进入需要密码
@EnableAutoConfiguration(exclude = {
org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})提示包不存在,用@SpringBootApplication(exclude={SecurityAutoConfiguration.class})也可以
6.关于Springboot打包错误的问题 | Failed to execute goal org.springframework.boot:spring-boot-maven-plugin
7. 在maven中子模块不能继承父模块的版本问题
因为mall-parent没有加入maven管理(不小心去掉了)