|
@@ -12,6 +12,7 @@ import com.hrsk.cloud.eg.vo.response.DataVo;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author zhangyy
|
|
* @author zhangyy
|
|
@@ -62,6 +63,9 @@ public class ApiRouteService {
|
|
@Resource
|
|
@Resource
|
|
private QingyuV3CreditService qingyuV3CreditService;
|
|
private QingyuV3CreditService qingyuV3CreditService;
|
|
|
|
|
|
|
|
+ @Resource
|
|
|
|
+ private PubNoCheckCreditService pubNoCheckCreditService;
|
|
|
|
+
|
|
|
|
|
|
/**
|
|
/**
|
|
* API 路由
|
|
* API 路由
|
|
@@ -73,8 +77,11 @@ public class ApiRouteService {
|
|
if (null == xdProduct.getApiId()) return null;
|
|
if (null == xdProduct.getApiId()) return null;
|
|
ProductBusinessApiInfoDo apiInfo = apiInfoService.getApiInfoByRedis(xdProduct.getApiId());
|
|
ProductBusinessApiInfoDo apiInfo = apiInfoService.getApiInfoByRedis(xdProduct.getApiId());
|
|
LoanDockingApi apiService = null;
|
|
LoanDockingApi apiService = null;
|
|
|
|
+ if (Objects.isNull(apiInfo)&&apiInfo.getNeedCheck()==0){
|
|
|
|
+ apiService= pubNoCheckCreditService;
|
|
|
|
+ return apiService;
|
|
|
|
+ }
|
|
JoinMethodEnums method = JoinMethodEnums.getByCode(apiInfo.getJoinMethod());
|
|
JoinMethodEnums method = JoinMethodEnums.getByCode(apiInfo.getJoinMethod());
|
|
-
|
|
|
|
if (null == method) return null;
|
|
if (null == method) return null;
|
|
switch (method) {
|
|
switch (method) {
|
|
case CRM_QY:
|
|
case CRM_QY:
|