进件相关调试
This commit is contained in:
@@ -37,6 +37,15 @@ public interface AliyunService extends IpLocationService {
|
||||
* @return 校验结果
|
||||
*/
|
||||
void checkBankCorrect(String phone, String bankCardNo, String certNo, String realName, String errorMsg);
|
||||
/**
|
||||
* 银行卡四要素(新)
|
||||
* @param phone 手机号
|
||||
* @param bankCardNo 银行卡号
|
||||
* @param certNo 身份证号
|
||||
* @param realName 姓名
|
||||
* @return 校验结果
|
||||
*/
|
||||
void checkBankCorrectNow(String phone, String bankCardNo, String certNo, String realName,String errorMsg);
|
||||
|
||||
AssumeRoleResponse.Credentials stsToken(String userId);
|
||||
}
|
||||
@@ -179,6 +179,15 @@ public class AliyunServiceImpl implements AliyunService {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkBankCorrectNow(String phone, String bankCardNo, String certNo, String realName, String errorMsg) {
|
||||
try {
|
||||
checkBankCorrectNow(phone, bankCardNo, certNo, realName);
|
||||
} catch (Exception e) {
|
||||
throw new MsgException(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public AssumeRoleResponse.Credentials stsToken(String userId) {
|
||||
String endpoint = stsConfig.getEndpoint().replace("https://", "");
|
||||
|
||||
@@ -381,7 +381,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
|
||||
if (checkFlag && !(settleTypeFlag)) {
|
||||
// 执行银行卡四要素校验
|
||||
aliyunService.checkBankCorrect(accountDTO.getBankCard().getPhone(), accountDTO.getBankCard().getBankCardNo()
|
||||
aliyunService.checkBankCorrectNow(accountDTO.getBankCard().getPhone(), accountDTO.getBankCard().getBankCardNo()
|
||||
, accountDTO.getIdcard().getCertNo()
|
||||
, accountDTO.getBankCard().getBankHolder(), "结算人与结算银行卡不匹配,请核对结算信息");
|
||||
}
|
||||
|
||||
@@ -605,6 +605,7 @@ public class SxfMerchantAuditServiceImpl extends BaseMerchantAuditService {
|
||||
// 判断经营类型
|
||||
switch (sxfMccInfo.getFMccType()) {
|
||||
case "线上":
|
||||
//TODO 如果渠道判定魏线上则 onlineType onlineName为必填
|
||||
map.put("operationalType", "02");
|
||||
break;
|
||||
case "非盈利":
|
||||
|
||||
@@ -40,14 +40,16 @@ import java.util.Map;
|
||||
public class WxTalkServiceImpl implements WxTalkService {
|
||||
|
||||
/**
|
||||
* 企业微信审核机器人的链接
|
||||
* 企业微信审核机器人的链接 https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=eba1e093-4cae-424d-be52-7013411194cc
|
||||
*/
|
||||
private static final String WX_TALK_URL = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=eba1e093-4cae-424d-be52-7013411194cc";
|
||||
//TODO 后面需要换成我们自己的
|
||||
private static final String WX_TALK_URL = "";
|
||||
|
||||
/**
|
||||
* 企业微信上市机器人的链接
|
||||
* 企业微信上市机器人的链接 https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=d89ed4ad-d723-4dce-a80b-bbf370c91943
|
||||
*/
|
||||
public static final String WX_GO_PUBLIC_TALK_URL = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=d89ed4ad-d723-4dce-a80b-bbf370c91943";
|
||||
//TODO 后面需要换成我们自己的
|
||||
public static final String WX_GO_PUBLIC_TALK_URL = "";
|
||||
|
||||
private final RestTemplate restTemplate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user