From 313a58d5dd241ab3a73da4ba3bcdc9c1a03b014b Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期三, 15 十月 2025 16:26:54 +0800 Subject: [PATCH] bug修改,新增用户取消销售人员必填校验,新增学员取消体测表必填校验 --- cloud-server-other/src/main/java/com/dsh/OtherApplication.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/OtherApplication.java b/cloud-server-other/src/main/java/com/dsh/OtherApplication.java index 7439d4b..a21a0d8 100644 --- a/cloud-server-other/src/main/java/com/dsh/OtherApplication.java +++ b/cloud-server-other/src/main/java/com/dsh/OtherApplication.java @@ -11,6 +11,7 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Import; import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; +import org.springframework.scheduling.annotation.EnableScheduling; import springfox.documentation.swagger2.annotations.EnableSwagger2; import javax.annotation.PostConstruct; @@ -20,13 +21,18 @@ * @author jason */ @EnableSwagger2 +@EnableScheduling @EnableFeignClients @MBCloudApplication @Import({WebConfig.class}) @MapperScan("com.dsh.other.mapper") public class OtherApplication { public static void main(String[] args) { - SpringApplication.run(OtherApplication.class, args); + try { + SpringApplication.run(OtherApplication.class, args); + } catch (Exception e) { + e.printStackTrace(); + } } @Bean -- Gitblit v1.7.1