摘要:
@EnableScheduling //开启定时执行任务的功能 (在主启动类中添加) package com.Google; import org.springframework.boot.SpringApplication; import org.springframework.boot.auto 阅读全文
摘要:
导入发送Mail依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> 配置mail spring.mail 阅读全文
摘要:
1. swagger分组(只需要创建几个Docket类型的方法即可) package com.Google.config; import org.springframework.context.annotation.Bean; import org.springframework.context.a 阅读全文