代码规约

This commit is contained in:
chendt
2023-02-21 15:04:48 +08:00
parent e4e36571c5
commit e60124b77a
2 changed files with 2 additions and 4 deletions

View File

@@ -16,13 +16,12 @@ import io.swagger.v3.oas.models.info.License;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
/**
* Swagger文档只有在测试环境才会使用
* @author LGH
*/
@Profile("dev")
//@Profile("dev")
@Configuration
public class SwaggerConfiguration {

View File

@@ -16,13 +16,12 @@ import io.swagger.v3.oas.models.info.License;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
/**
* Swagger文档只有在测试环境才会使用
* @author LGH
*/
@Profile("dev")
//@Profile("dev")
@Configuration
public class SwaggerConfiguration {