银盛大改进件完成,增加银盛进件不成功逻辑
This commit is contained in:
@@ -732,7 +732,9 @@ public class YSAuditServiceV3 implements cn.pluss.platform.channel.ys.YSAuditSer
|
|||||||
mcs.getExtra().put("mercCnm", mbi.getBussAuthName());
|
mcs.getExtra().put("mercCnm", mbi.getBussAuthName());
|
||||||
}
|
}
|
||||||
mcsService.updateById(mcs);
|
mcsService.updateById(mcs);
|
||||||
openOnlinePay(mcs);
|
if (channel == 4) {
|
||||||
|
openOnlinePay(mcs);
|
||||||
|
}
|
||||||
//暂时用手动进件
|
//暂时用手动进件
|
||||||
// mercAuditListener.onSuccess(mbi.getUserId(), mcs);
|
// mercAuditListener.onSuccess(mbi.getUserId(), mcs);
|
||||||
//向小程序里加入商家
|
//向小程序里加入商家
|
||||||
@@ -746,6 +748,12 @@ public class YSAuditServiceV3 implements cn.pluss.platform.channel.ys.YSAuditSer
|
|||||||
break;
|
break;
|
||||||
//TODO 失败和错误时没有处理
|
//TODO 失败和错误时没有处理
|
||||||
case YsConfigV3.STATUS_REFUSE:
|
case YsConfigV3.STATUS_REFUSE:
|
||||||
|
String note1 = authData.getNote();
|
||||||
|
mcs.setRemark(note1);
|
||||||
|
mcs.setStatus(MerchantChannelStatus.AUDIT_STATUS_REJECT);
|
||||||
|
mcsService.updateById(mcs);
|
||||||
|
mercAuditListener.onFail(mbi.getUserId(), mcs, note1);
|
||||||
|
break;
|
||||||
case YsConfigV3.STATUS_SIGN_REFUSE:
|
case YsConfigV3.STATUS_SIGN_REFUSE:
|
||||||
List<String> excludeStatus = Arrays.asList(MerchantChannelStatus.AUDIT_STATUS_REJECT, MerchantChannelStatus.AUDIT_STATUS_SUCCESS);
|
List<String> excludeStatus = Arrays.asList(MerchantChannelStatus.AUDIT_STATUS_REJECT, MerchantChannelStatus.AUDIT_STATUS_SUCCESS);
|
||||||
MerchantChannelStatus finalMcs = mcs;
|
MerchantChannelStatus finalMcs = mcs;
|
||||||
@@ -815,8 +823,6 @@ public class YSAuditServiceV3 implements cn.pluss.platform.channel.ys.YSAuditSer
|
|||||||
JSONObject param = new JSONObject();
|
JSONObject param = new JSONObject();
|
||||||
param.put(YsConstant.MERC_ID, mcs.getMerchantId());
|
param.put(YsConstant.MERC_ID, mcs.getMerchantId());
|
||||||
param.put("option", "ON");
|
param.put("option", "ON");
|
||||||
param.put("rateFee", "0.38");
|
|
||||||
param.put("rateBottom", "1");
|
|
||||||
ysServiceV3.req(ReqMethod.openOnlinePay, param, mcs.getChannel());
|
ysServiceV3.req(ReqMethod.openOnlinePay, param, mcs.getChannel());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("云商服3.0开通线上D0接口报错: {}", e.getMessage());
|
log.error("云商服3.0开通线上D0接口报错: {}", e.getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user