摘要:
1)首先在pom.xml文件中导入邮件发送需要的依赖; <!--javax.mail--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactI 阅读全文
摘要:
Controller层代码: @RestController public class AsyncController { @Autowired private AsyncService asyncService; @RequestMapping("/hello") public String he 阅读全文