|
@@ -1,11 +1,12 @@
|
|
|
package com.hrsk.cloud.eg.infrastructure.gatewayimpl;
|
|
|
|
|
|
import com.google.gson.JsonElement;
|
|
|
-import com.hrsk.cloud.eg.client.api.ApiService;
|
|
|
import com.hrsk.cloud.eg.client.dto.cmd.ApiInvokeCmd;
|
|
|
import com.hrsk.cloud.eg.domain.api.Api;
|
|
|
import com.hrsk.cloud.eg.domain.api.ApiFactory;
|
|
|
import com.hrsk.cloud.eg.domain.api.ApiGateway;
|
|
|
+import com.hrsk.cloud.eg.domain.api.channel.guide.http.HttpApiResponse;
|
|
|
+import com.hrsk.cloud.eg.domain.common.GsonUtils;
|
|
|
import com.hrsk.cloud.eg.infrastructure.client.http.HttpClient;
|
|
|
import com.hrsk.cloud.eg.infrastructure.repository.database.dao.EgressApiChannelDao;
|
|
|
import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgressApiChannelDo;
|
|
@@ -14,7 +15,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
-
|
|
|
+import com.hrsk.cloud.eg.domain.api.channel.guide.common.EgressApiErrorCodeEnum;
|
|
|
import javax.annotation.Resource;
|
|
|
import java.util.List;
|
|
|
import java.util.stream.Collectors;
|