无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
cloud-server-management/src/main/java/com/dsh/ManagementApplication.java
@@ -8,9 +8,11 @@
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import javax.annotation.PostConstruct;
@@ -26,6 +28,7 @@
@MapperScan("com.dsh.course.mapper")
@ServletComponentScan
@EnableScheduling
@ComponentScan(basePackages = {"com.dsh.*","com.github.binarywang.wxpay.service"})
public class ManagementApplication {
    public static void main(String[] args) {
        try{