Ver código fonte

update check

GITZYY 1 semana atrás
pai
commit
07d8bc24a2

+ 2 - 0
egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/api/executor/ApiInvokeCmdExe.java

@@ -1,6 +1,8 @@
 package com.hrsk.cloud.eg.app.api.executor;
 
+import com.hrsk.cloud.eg.client.api.ApiService;
 import com.hrsk.cloud.eg.client.dto.cmd.ApiInvokeCmd;
+import com.hrsk.cloud.eg.domain.api.ApiGateway;
 import org.springframework.stereotype.Component;
 
 import javax.annotation.Resource;

+ 0 - 30
egress-gateway-service-app/src/main/java/com/hrsk/cloud/eg/app/loan/executor/ApiInvokeCmdExe.java

@@ -1,30 +0,0 @@
-package com.hrsk.cloud.eg.app.loan.executor;
-
-import com.hrsk.pangu.dto.SingleResponse;
-import org.springframework.stereotype.Component;
-
-import javax.annotation.Resource;
-
-/**
- * @author zhangyy
- * @version 1.0
- * @description: CheckIntoCmdExe
- * @date 2024/11/6 14:18
- */
-@Component
-public class ApiInvokeCmdExe {
-
-    @Resource
-    private ApiGatewayService apiGatewayService;
-
-    /** 
-     * @description: 执行api请求
-     * @param:  
-     * @return:  
-     * @author zhangyy
-     * @date: 2024/11/6 15:46
-     */ 
-    public SingleResponse execute(ApiInvokeParamCmd apiInvokeParamCmd){
-      return   apiGatewayService.invoke(apiInvokeParamCmd);
-    }
-}