|
@@ -38,9 +38,7 @@ public class CheckIntoCmd implements EndpointRouteService {
|
|
public SingleResponse apiEndPoint(ApiInvokeParamCmd apiInvokeParamCmd) {
|
|
public SingleResponse apiEndPoint(ApiInvokeParamCmd apiInvokeParamCmd) {
|
|
CheckIntoParamCmd checkIntoParamCmd = JSONObject.parseObject(apiInvokeParamCmd.getParam().toString(), CheckIntoParamCmd.class);
|
|
CheckIntoParamCmd checkIntoParamCmd = JSONObject.parseObject(apiInvokeParamCmd.getParam().toString(), CheckIntoParamCmd.class);
|
|
EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(checkIntoParamCmd.getPlan().getApiId());
|
|
EgLoanApiConfigInfoDo loanApiConfigInfo = egApiService.getLoanApiConfigInfo(checkIntoParamCmd.getPlan().getApiId());
|
|
-// EgLoanApiConfigInfoCmd configCmd = BeanCopyUtils.copy(loanApiConfigInfo, EgLoanApiConfigInfoCmd.class);
|
|
|
|
Map<String, CheckCmdExe> collect = checkCmdExeList.stream().collect(Collectors.toMap(CheckCmdExe::getMode, CheckCmdExe -> CheckCmdExe));
|
|
Map<String, CheckCmdExe> collect = checkCmdExeList.stream().collect(Collectors.toMap(CheckCmdExe::getMode, CheckCmdExe -> CheckCmdExe));
|
|
-
|
|
|
|
return collect.get(loanApiConfigInfo.getIntegrationMode()).route(checkIntoParamCmd);
|
|
return collect.get(loanApiConfigInfo.getIntegrationMode()).route(checkIntoParamCmd);
|
|
}
|
|
}
|
|
|
|
|