Commit c9011020 by “zcwang”

modify: 执行节点邮件接收优化

parent d0439b78
......@@ -4,6 +4,7 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.netease.yanxuan.missa.client.annotation.EnableMissaClients;
......@@ -18,6 +19,7 @@ import tk.mybatis.spring.annotation.MapperScan;
@EnableApolloConfig
@EnableMissaClients(basePackages = "com.netease.mail.yanxuan.change")
@SpringBootApplication
@EnableAsync
public class Application extends SpringBootServletInitializer {
public static void main(String[] args) throws Exception {
......
......@@ -15,6 +15,7 @@ import java.util.stream.Collectors;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import com.netease.mail.yanxuan.change.biz.biz.ChangeFlowBiz;
import com.netease.mail.yanxuan.change.biz.config.AppConfig;
......@@ -33,10 +34,14 @@ import com.netease.mail.yanxuan.change.integration.flow.UserQueryDTO;
import com.netease.mail.yanxuan.change.integration.flow.ius.rsp.IusUserInfoRsp;
import com.netease.mail.yanxuan.change.integration.todo.ChangeExecuteEmailDTO;
import lombok.extern.slf4j.Slf4j;
/**
* @Author zcwang
* @Date 2023/2/7
*/
@Service
@Slf4j
public class BuildAndSendEmailImpl implements BuildAndSendEmail {
@Autowired
......
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