| | |
| | | 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; |
| | | |
| | | /** |
| | | * 测试调用编码系统代码示例的api定义 |
| | | * 测试调用编码系统代码示例 |
| | | * @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(); |
| | | } |
| | | |
| | | |
| | | } |