Browse Source

测试发包

dev
wangxianzhang 3 years ago
parent
commit
51486bd0ff
  1. 3
      epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/ScanApplication.java

3
epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/ScanApplication.java

@ -8,6 +8,7 @@
package com.epmet.openapi.scan; package com.epmet.openapi.scan;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.boot.web.servlet.ServletComponentScan;
@ -23,9 +24,11 @@ import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication @SpringBootApplication
@ComponentScan(basePackages = "com.epmet") @ComponentScan(basePackages = "com.epmet")
@ServletComponentScan(basePackages = "com.epmet") @ServletComponentScan(basePackages = "com.epmet")
@Slf4j
public class ScanApplication { public class ScanApplication {
public static void main(String[] args) { public static void main(String[] args) {
log.info("openapi启动了:");
SpringApplication.run(ScanApplication.class, args); SpringApplication.run(ScanApplication.class, args);
} }

Loading…
Cancel
Save