mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-03-22 09:17:16 +08:00
代码规约
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user