|
|
|
@ -3,6 +3,7 @@ package com.cweb.notify; |
|
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
|
import com.hfkj.channel.lakala.LaKaLaLedgerService; |
|
|
|
|
import com.hfkj.channel.lakala.LaKaLaWalletService; |
|
|
|
|
import com.hfkj.config.CommonSysConst; |
|
|
|
|
import com.hfkj.entity.*; |
|
|
|
|
import com.hfkj.service.*; |
|
|
|
|
import com.hfkj.sysenum.*; |
|
|
|
@ -148,11 +149,14 @@ public class LaKaLaController { |
|
|
|
|
// 延迟3秒
|
|
|
|
|
Thread.sleep(3000); |
|
|
|
|
|
|
|
|
|
String notifyUrl = CommonSysConst.getSysConfig().getDomainName()+"/crest/merWithdrawal/notify?cupNo="+merLedger.getCupNo(); |
|
|
|
|
|
|
|
|
|
// 配置账户自动结算
|
|
|
|
|
laKaLaWalletService.ewalletSettleProfile(1,merLedger.getCupNo(), "02", "06"); |
|
|
|
|
laKaLaWalletService.ewalletSettleProfile(1,merLedger.getCupNo(), "02", "06", notifyUrl); |
|
|
|
|
|
|
|
|
|
// 配置分账接收方账户自动结算
|
|
|
|
|
laKaLaWalletService.ewalletSettleProfile(2,merLedger.getReceiverNo(), "02", "06"); |
|
|
|
|
laKaLaWalletService.ewalletSettleProfile(2,merLedger.getReceiverNo(), "02", "06", notifyUrl); |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
merLedger.setStatus(MerLedgerStatusEnum.status3.getNumber()); |
|
|
|
|
merLedger.setRejectReason(respData.getString("remark")); |
|
|
|
|