情人节cp活动-接口swagger

This commit is contained in:
2023-01-31 16:50:59 +08:00
parent 49b19aa7ed
commit 59cacb9754
18 changed files with 398 additions and 13 deletions

View File

@@ -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) {