Commit 06ea1bfd by fanjiaxin

新加入调度配置

parent 96411c5b
Pipeline #75741 passed with stages
in 1 minute 6 seconds
......@@ -13,14 +13,14 @@ import org.springframework.scheduling.annotation.EnableAsync;
* 项目启动类
*/
@EnableAsync
@ComponentScan(basePackages = {"com.netease.mail.yanxuan.dschedule", "com.netease.yanxuan.wx.store.sharer"})
@EnableApolloConfig
@EnableMissaClients(basePackages = "com.netease.yanxuan.wx.store.sharer")
@MapperScan(basePackages = "com.netease.yanxuan.wx.store.sharer.dal")
@ComponentScan(basePackages = {"com.netease.mail.yanxuan.dschedule", "com.netease.yanxuan.wx.store.sharer"})
@SpringBootApplication
public class Application extends SpringBootServletInitializer {
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
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