|
|
|
@ -3,6 +3,7 @@ package au.com.royalpay.payment.manage.application.core.impls;
|
|
|
|
|
import au.com.royalpay.payment.channels.wechat.config.WeChatPayConfig;
|
|
|
|
|
import au.com.royalpay.payment.channels.wechat.runtime.MpPaymentApi;
|
|
|
|
|
import au.com.royalpay.payment.manage.application.core.SimpleClientApplyService;
|
|
|
|
|
import au.com.royalpay.payment.manage.management.sysconfig.core.PermissionPartnerManager;
|
|
|
|
|
import au.com.royalpay.payment.manage.mappers.preapply.SysClientPreMapperMapper;
|
|
|
|
|
import au.com.royalpay.payment.manage.mappers.system.ClientAccountMapper;
|
|
|
|
|
import au.com.royalpay.payment.manage.mappers.system.ClientBankAccountMapper;
|
|
|
|
@ -72,6 +73,8 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
|
|
|
|
|
@Resource
|
|
|
|
|
private MailService mailService;
|
|
|
|
|
@Resource
|
|
|
|
|
private PermissionPartnerManager permissionPartnerManager;
|
|
|
|
|
@Resource
|
|
|
|
|
private SpringTemplateEngine thymeleaf;
|
|
|
|
|
@Resource
|
|
|
|
|
private ClientManager clientManager;
|
|
|
|
@ -365,6 +368,8 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
|
|
|
|
|
apply.put("client_moniker", clientMoniker);
|
|
|
|
|
sysClientPreMapperMapper.update(apply);
|
|
|
|
|
|
|
|
|
|
permissionPartnerManager.permissionClientModuleSave(clientId,clientMoniker);
|
|
|
|
|
|
|
|
|
|
JSONObject sysRate = new JSONObject();
|
|
|
|
|
sysRate.put("client_id", clientId);
|
|
|
|
|
sysRate.put("clean_days", apply.getIntValue("clean_days"));
|
|
|
|
|