Pārlūkot izejas kodu

feat: 修改接口

wuwenyi 2 nedēļas atpakaļ
vecāks
revīzija
e4726d408a

+ 1 - 1
src/main/java/com/qqflow/engine/domain/ewechat/controller/EnterpriseTestController.java

@@ -20,7 +20,7 @@ import java.io.File;
 @Tag(name = "内部企微测试用接口")
 @RestController
 @RequiredArgsConstructor
-@RequestMapping("/assistant/api/enterprise/test/p")
+@RequestMapping("/api/enterprise/test/p")
 public class EnterpriseTestController {
     private final EnterpriseWechatApi enterpriseWechatApi;
     private final EnterpriseWechatService enterpriseWechatService;

+ 1 - 1
src/main/java/com/qqflow/engine/domain/ewechat/controller/EnterpriseWechatCallbackController.java

@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
 @Tag(name = "企微回调接口")
 @RestController
 @RequiredArgsConstructor
-@RequestMapping("/assistant/api/open/p/enterprise-wechat/")
+@RequestMapping("/api/open/enterprise-wechat/")
 public class EnterpriseWechatCallbackController {
     private final EnterpriseWechatValidator enterpriseWechatValidator;
     private final EnterpriseWechatCallbackService enterpriseWechatCallbackService;