zhangxu
2022-07-20 6d74163dc2d9675d0af367c86a0c9c70cbd18cd3
phi_platform_user/src/main/java/com/hx/phip/PhiPlatformUserApplication.java
@@ -9,6 +9,8 @@
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@@ -16,6 +18,8 @@
@ComponentScan(basePackages = {"com.gitee.sunchenbin.mybatis.actable.manager.*","com.hx.phip.*","com.hx.common.service.impl","com.hx.redis","com.hx.mybatis.aes.springbean"},nameGenerator = UniqueNameGenerator.class)
@ServletComponentScan
//@EnableScheduling
@EnableDiscoveryClient
@EnableFeignClients
public class PhiPlatformUserApplication extends SpringBootServletInitializer implements CommandLineRunner {
    public static void main(String[] args) {