文档配置

master
anthonyywj2 3 years ago
parent 886be14516
commit b704e9fcf7

@ -10,7 +10,7 @@ import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc; import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;
@Profile({"dev"}) @Profile({"pro", "dev"})
@Configuration @Configuration
@EnableSwagger2WebMvc @EnableSwagger2WebMvc
public class SwaggerConfig { public class SwaggerConfig {

Loading…
Cancel
Save