|
|
@@ -559,15 +559,15 @@ public class UserService {
|
|
|
}
|
|
|
smsService.verify(phone, code);
|
|
|
|
|
|
-// adapayMerchantService.createMemberForAll(userId.toString(), user.getPhone(), identityAuth.getRealName(), identityAuth.getIdNo());
|
|
|
-// user.setMemberId(user.getId().toString());
|
|
|
-// save(user);
|
|
|
-
|
|
|
-// String accountId = adapayMerchantService.createSettleAccountForAll
|
|
|
-// (user.getMemberId(), identityAuth.getRealName(),
|
|
|
-// identityAuth.getIdNo(), phone, bankNo);
|
|
|
-// user.setSettleAccountId(Optional.ofNullable(accountId).orElse("1"));
|
|
|
-// save(user);
|
|
|
+ adapayMerchantService.createMemberForAll(userId.toString(), user.getPhone(), identityAuth.getRealName(), identityAuth.getIdNo());
|
|
|
+ user.setMemberId(user.getId().toString());
|
|
|
+ save(user);
|
|
|
+
|
|
|
+ String accountId = adapayMerchantService.createSettleAccountForAll
|
|
|
+ (user.getMemberId(), identityAuth.getRealName(),
|
|
|
+ identityAuth.getIdNo(), phone, bankNo);
|
|
|
+ user.setSettleAccountId(Optional.ofNullable(accountId).orElse("1"));
|
|
|
+ save(user);
|
|
|
|
|
|
user.setSettleAccountId("1");
|
|
|
save(user);
|