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