From f55ed1d2a1bdf4ad80930e879631d6d95d4b6c3c Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 28 八月 2025 18:57:38 +0800
Subject: [PATCH] RCS 库位同步接口调用 RCS任务下发接口功能调用 RCS 取消任务接口功能开发 RCS异常功回调功能开发

---
 rsf-server/src/main/java/com/vincent/rsf/server/common/config/SwaggerConfig.java |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/common/config/SwaggerConfig.java b/rsf-server/src/main/java/com/vincent/rsf/server/common/config/SwaggerConfig.java
index 35bd8d2..8e336a6 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/common/config/SwaggerConfig.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/common/config/SwaggerConfig.java
@@ -41,8 +41,21 @@
                 //apis锛� 娣诲姞swagger鎺ュ彛鎻愬彇鑼冨洿
                 .apis(RequestHandlerSelectors.withClassAnnotation(Api.class))
                 .paths(PathSelectors.any())
-                .build()
-                ;
+                .build();
+
+        return docket;
+    }
+
+    @Bean
+    public Docket erpDocket() {
+        Docket docket = new Docket(DocumentationType.OAS_30)
+                .apiInfo(apiInfo())
+                .enable("dev".equals(active))
+                .groupName("ERP鎺ュ彛瀵规帴")
+                .select()
+                .apis(RequestHandlerSelectors.basePackage("com.vincent.rsf.server.api.controller.erp"))
+                .paths(PathSelectors.any())
+                .build();
 
         return docket;
     }

--
Gitblit v1.9.1