情人节cp活动-接口swagger
This commit is contained in:
@@ -8,8 +8,7 @@ import org.springframework.boot.web.servlet.ServletComponentScan;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;;
|
||||
|
||||
@SpringBootApplication
|
||||
@ComponentScan("com.accompany")
|
||||
@@ -18,7 +17,6 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
||||
@EnableAsync(proxyTargetClass = true)
|
||||
@EnableFeignClients(basePackages = "com.accompany")
|
||||
@MapperScan({"com.accompany.*.mapper","com.accompany.*.mybatismapper"})
|
||||
@EnableSwagger2
|
||||
@SpringBootConfiguration
|
||||
public class OAuth2Application {
|
||||
public static void main(String[] args) {
|
||||
|
Reference in New Issue
Block a user