update 新回调接口

This commit is contained in:
2023-07-05 15:42:44 +08:00
parent 7128aedddb
commit 1ddef75341
2 changed files with 38 additions and 0 deletions

View File

@@ -43,6 +43,8 @@ public class AdapayMemberService {
@Value("${adapay.appId}")
private String ADAPAY_APP_ID;
private final String CALLBACK_URL = "https://api.jsowellcloud.com/uniapp/pay/callbackAdapay";
@Autowired
private IAdapayMemberAccountService adapayMemberAccountService;
@@ -359,6 +361,7 @@ public class AdapayMemberService {
memberParams.put("bank_acct_type", dto.getBankAcctType());
memberParams.put("card_no", dto.getCardNo());
memberParams.put("card_name", dto.getCardName());
memberParams.put("notify_url", CALLBACK_URL);
File file = ZipUtil.createZipFileFromImages(dto.getImgList());
log.info("创建企业账户param:{}", memberParams);
Map<String, Object> member = CorpMember.create(memberParams, file);