From f21bdede8546a348e2b16ffc3bbe292df7eeba76 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 12 四月 2024 23:24:21 +0800
Subject: [PATCH] 集成相关代码修改

---
 Source/ExampleIntegratedPushCalled/src/main/java/com/vci/ubcs/example/controller/TestCalledIntegrationController.java |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 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 fdec40a..ac20822 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,9 +1,32 @@
 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.RestController;
+
+import java.net.MalformedURLException;
+import java.rmi.RemoteException;
+
 /**
- * 娴嬭瘯璋冪敤缂栫爜绯荤粺浠g爜绀轰緥鐨刟pi瀹氫箟
+ * 娴嬭瘯璋冪敤缂栫爜绯荤粺浠g爜绀轰緥
  * @author ludc
  * @date 2024/2/27 20:34
  */
+@AllArgsConstructor
+@RestController
+@RequestMapping("/callApplyCode")
 public class TestCalledIntegrationController {
+
+    @Autowired
+    private ICalledIntegrationService calledIntegrationService;
+
+    @GetMapping("/sendApplyCodeByWebService")
+    public void sendApplyCodeByWebService() throws MalformedURLException, RemoteException {
+        calledIntegrationService.sendApplyCodeByWebService();
+    }
+
+
 }

--
Gitblit v1.9.3