Commit 92c806c7 by 阳浪

SwaggerConfig

parent 2a432962
......@@ -15,7 +15,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
**/
@SpringBootApplication(exclude = {RabbitAutoConfiguration.class})
@EnableDiscoveryClient
@EnableSwagger2
//@EnableSwagger2
@EnableCaching
@EnableFeignClients(basePackages = {"com.yizhi"})
@ComponentScan(basePackages = {"com.yizhi"})
......
......@@ -18,7 +18,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
* @Date: 2018/3/6 14:30
*/
@Configuration
@EnableSwagger2
//@EnableSwagger2
public class WebMvcConfigure extends WebMvcConfigurerAdapter {
@Bean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment