|
|
@ -3,6 +3,7 @@ package com.cweb.notify; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.hfkj.channel.lakala.LaKaLaLedgerService; |
|
|
|
import com.hfkj.channel.lakala.LaKaLaLedgerService; |
|
|
|
import com.hfkj.channel.lakala.LaKaLaWalletService; |
|
|
|
import com.hfkj.channel.lakala.LaKaLaWalletService; |
|
|
|
|
|
|
|
import com.hfkj.config.CommonSysConst; |
|
|
|
import com.hfkj.entity.*; |
|
|
|
import com.hfkj.entity.*; |
|
|
|
import com.hfkj.service.*; |
|
|
|
import com.hfkj.service.*; |
|
|
|
import com.hfkj.sysenum.*; |
|
|
|
import com.hfkj.sysenum.*; |
|
|
@ -148,11 +149,14 @@ public class LaKaLaController { |
|
|
|
// 延迟3秒
|
|
|
|
// 延迟3秒
|
|
|
|
Thread.sleep(3000); |
|
|
|
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 { |
|
|
|
} else { |
|
|
|
merLedger.setStatus(MerLedgerStatusEnum.status3.getNumber()); |
|
|
|
merLedger.setStatus(MerLedgerStatusEnum.status3.getNumber()); |
|
|
|
merLedger.setRejectReason(respData.getString("remark")); |
|
|
|
merLedger.setRejectReason(respData.getString("remark")); |
|
|
|