01 2021 档案
摘要:引入阿里云OSS依赖 <dependency> <groupId>com.aliyun.oss</groupId> <artifactId>aliyun-sdk-oss</artifactId> <version>3.1.0</version> </dependency> 现在已经到3.10了,具体
阅读全文
摘要:日志等级 目录结构 名字必须为logback-spring.xml 内容如下: <?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="10 seconds"> <!-- 日志级别从低到高分为TRAC
阅读全文
摘要:现在实体类中配置注解 @ApiModelProperty(value = "创建时间") @TableField(fill = FieldFill.INSERT)//创建注解 private Date gmtCreate; @ApiModelProperty(value = "更新时间") @Tab
阅读全文
摘要:第一数据库表中要有is_deleted字段 例如: 接下来配置类 @EnableTransactionManagement @Configuration @MapperScan("com.atguigu.eduservice.mapper") public class Config { /** *
阅读全文
摘要:引入pom坐标 <!--swagger--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <scope>provided </scope> </dependency>
阅读全文
摘要:直接上图 找到设置 找到如下 红框的地方就是屏蔽掉不想显示的文件 例如:我添加的是这个,你也可以直接复制我这,注意以*号开头;分号结尾 *.mvn;*.gitignore;*.md;*.cmd;mvnw;
阅读全文

浙公网安备 33010602011771号