This commit is contained in:
2024-01-05 16:17:55 +08:00
parent 51a93357c3
commit 0fbb4a76d2
2 changed files with 6 additions and 2 deletions

View File

@@ -561,7 +561,7 @@ public class SpringBootTestController {
@Test
public void createDeleteSettleAccountRequestTest() throws BaseAdaPayException {
String adapayMemberId = "ACM84693947";
String settleAccountId = "0525527966423680";
String settleAccountId = "0561354988505792";
adapayService.createDeleteSettleAccountRequest(adapayMemberId, settleAccountId, wechatAppId1);
}

View File

@@ -811,7 +811,11 @@ public class AdapayService {
memberParams.put("order_no", IdUtils.get16UUID("jsdk_order_"));
memberParams.put("social_credit_code_expires", dto.getSocialCreditCodeExpires());
memberParams.put("business_scope", dto.getBusinessScope());
memberParams.put("name", dto.getNickname());
String name = dto.getBusinessName();
if (StringUtils.isBlank(name)) {
name = dto.getNickname();
}
memberParams.put("name", name);
memberParams.put("prov_code", dto.getProvCode());
memberParams.put("area_code", dto.getAreaCode());
memberParams.put("legal_person", dto.getLegalPerson());