Commit 92353436 authored by 周健威's avatar 周健威

修改代码

parent b2b0071e
...@@ -12,7 +12,7 @@ import java.util.concurrent.ExecutorService; ...@@ -12,7 +12,7 @@ import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors; import java.util.concurrent.Executors;
@Slf4j @Slf4j
@Service //@Service
public class MailServiceBiz { public class MailServiceBiz {
@Autowired @Autowired
......
...@@ -6,11 +6,11 @@ import org.springframework.web.bind.annotation.PostMapping; ...@@ -6,11 +6,11 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@RestController //@RestController
@RequestMapping("mail") //@RequestMapping("mail")
public class EmailSendController { public class EmailSendController {
@Autowired //@Autowired
MailServiceBiz mailServiceBiz; MailServiceBiz mailServiceBiz;
@PostMapping(value = "/app/unauth/send") @PostMapping(value = "/app/unauth/send")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment