|  | @ -1,5 +1,6 @@
 | 
												
													
														
															|  | package com.yihu.jw.config;
 |  | package com.yihu.jw.config;
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  | import com.yihu.jw.rm.archives.PatientArchivesMapping;
 | 
												
													
														
															|  | import com.yihu.jw.rm.wlyy.WlyyRequestMapping;
 |  | import com.yihu.jw.rm.wlyy.WlyyRequestMapping;
 | 
												
													
														
															|  | import org.springframework.context.annotation.Bean;
 |  | import org.springframework.context.annotation.Bean;
 | 
												
													
														
															|  | import org.springframework.context.annotation.ComponentScan;
 |  | import org.springframework.context.annotation.ComponentScan;
 | 
												
											
												
													
														
															|  | @ -16,18 +17,18 @@ import static springfox.documentation.builders.PathSelectors.regex;
 | 
												
													
														
															|  | @EnableSwagger2
 |  | @EnableSwagger2
 | 
												
													
														
															|  | @ComponentScan("com.yihu.jw.**")
 |  | @ComponentScan("com.yihu.jw.**")
 | 
												
													
														
															|  | public class SwaggerConfig {
 |  | public class SwaggerConfig {
 | 
												
													
														
															|  |     public static final String Wlyy_API = "archives";
 |  | 
 | 
												
													
														
															|  | 
 |  |     public static final String archives_API = "archives";
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |     @Bean
 |  |     @Bean
 | 
												
													
														
															|  |     public Docket wlyyAPI() {
 |  |     public Docket wlyyAPI() {
 | 
												
													
														
															|  |         return new Docket(DocumentationType.SWAGGER_2)
 |  |         return new Docket(DocumentationType.SWAGGER_2)
 | 
												
													
														
															|  |                 .groupName(Wlyy_API)
 |  | 
 | 
												
													
														
															|  | 
 |  |                 .groupName(archives_API)
 | 
												
													
														
															|  |                 .useDefaultResponseMessages(false)
 |  |                 .useDefaultResponseMessages(false)
 | 
												
													
														
															|  |                 .forCodeGeneration(false)
 |  |                 .forCodeGeneration(false)
 | 
												
													
														
															|  |                 .pathMapping("/")
 |  |                 .pathMapping("/")
 | 
												
													
														
															|  |                 .select()
 |  |                 .select()
 | 
												
													
														
															|  |                 .paths(or(
 |  |                 .paths(or(
 | 
												
													
														
															|  |                         regex("/" + WlyyRequestMapping.api_wlyy_common + "/.*")
 |  | 
 | 
												
													
														
															|  | 
 |  |                         regex("/" + PatientArchivesMapping.api_archives_common + "/.*")
 | 
												
													
														
															|  |                 ))
 |  |                 ))
 | 
												
													
														
															|  |                 .build()
 |  |                 .build()
 | 
												
													
														
															|  |                 .apiInfo(wlyyApiInfo());
 |  |                 .apiInfo(wlyyApiInfo());
 |