From fab8208b83a3c710cdfc3805655f04f0b7466be5 Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期三, 08 一月 2025 11:26:00 +0800
Subject: [PATCH] 产品型号集成,类型转换,人员组织加日志,申请接口引用码段值校验

---
 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java
index 940dee1..351bf7b 100644
--- a/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java
+++ b/Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java
@@ -1,18 +1,37 @@
 package com.vci.ubcs.example.controller;
 
+import com.vci.ubcs.example.service.ICalledIntegrationService;
 import lombok.AllArgsConstructor;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
+import java.net.MalformedURLException;
+import java.rmi.RemoteException;
+
 /**
- * 娴嬭瘯璋冪敤缂栫爜绯荤粺浠g爜绀轰緥鐨刟pi瀹氫箟
+ * 娴嬭瘯璋冪敤缂栫爜绯荤粺浠g爜绀轰緥
  * @author ludc
  * @date 2024/2/27 20:34
  */
 @AllArgsConstructor
-@RestController("/pushIntegration")
+@RestController
+@RequestMapping("/callApplyCode")
 public class TestCalledIntegrationController {
 
+    @Autowired
+    private ICalledIntegrationService calledIntegrationService;
 
+    @GetMapping("/sendApplyCodeByWebService")
+    public void sendApplyCodeByWebService() throws MalformedURLException, RemoteException {
+        calledIntegrationService.sendApplyCodeByWebService();
+    }
 
+    @GetMapping("/sendApplyCodeByWebServicexml")
+    public void sendApplyCodeByWebServicexml(@RequestParam("frequency") Integer frequency) throws MalformedURLException, RemoteException {
+        calledIntegrationService.sendApplyCodeByWebServicexml(frequency);
+    }
 
 }

--
Gitblit v1.9.3