|
@@ -5,7 +5,7 @@ import com.hrsk.cloud.eg.client.api.ApiService;
|
|
import com.hrsk.cloud.eg.client.dto.cmd.ApiInvokeCmd;
|
|
import com.hrsk.cloud.eg.client.dto.cmd.ApiInvokeCmd;
|
|
import com.hrsk.cloud.eg.domain.api.Api;
|
|
import com.hrsk.cloud.eg.domain.api.Api;
|
|
import com.hrsk.cloud.eg.domain.api.ApiFactory;
|
|
import com.hrsk.cloud.eg.domain.api.ApiFactory;
|
|
-import com.hrsk.cloud.eg.domain.common.utils.GsonUtils;
|
|
|
|
|
|
+import com.hrsk.cloud.eg.domain.api.ApiGateway;
|
|
import com.hrsk.cloud.eg.infrastructure.client.http.HttpClient;
|
|
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.dao.EgressApiChannelDao;
|
|
import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgressApiChannelDo;
|
|
import com.hrsk.cloud.eg.infrastructure.repository.database.entity.EgressApiChannelDo;
|
|
@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
|
|
**/
|
|
**/
|
|
@Slf4j
|
|
@Slf4j
|
|
@Component
|
|
@Component
|
|
-public class ApiGatewayImpl implements ApiService {
|
|
|
|
|
|
+public class ApiGatewayImpl implements ApiGateway {
|
|
@Resource
|
|
@Resource
|
|
private HttpClient httpClient;
|
|
private HttpClient httpClient;
|
|
@Resource
|
|
@Resource
|