|
|
|
|
@ -6,19 +6,19 @@ import org.springframework.context.annotation.Bean;
|
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* order 模块的 web 组件的 Configuration
|
|
|
|
|
* trade 模块的 web 组件的 Configuration
|
|
|
|
|
*
|
|
|
|
|
* @author 芋道源码
|
|
|
|
|
*/
|
|
|
|
|
@Configuration(proxyBeanMethods = false)
|
|
|
|
|
public class OrderWebConfiguration {
|
|
|
|
|
public class TradeWebConfiguration {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* order 模块的 API 分组
|
|
|
|
|
* trade 模块的 API 分组
|
|
|
|
|
*/
|
|
|
|
|
@Bean
|
|
|
|
|
public GroupedOpenApi orderGroupedOpenApi() {
|
|
|
|
|
return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("order");
|
|
|
|
|
public GroupedOpenApi tradeGroupedOpenApi() {
|
|
|
|
|
return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("trade");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|