Commit da437a3b authored by xuxin's avatar xuxin

注册送12

parent 8cabd289
...@@ -472,11 +472,10 @@ public class AccountServiceImpl implements AccountService { ...@@ -472,11 +472,10 @@ public class AccountServiceImpl implements AccountService {
list.add("171"); list.add("171");
list.add("184"); list.add("184");
list.add("170"); list.add("170");
if (!list.contains(user.getPhone().substring(0, 3))) {
if (!StringUtils.isEmpty(account.getPhoneNumber()) && !list.contains(account.getPhoneNumber().substring(0, 3))) {
paymentService.bankTransferInsertion(account.getName(), 12); paymentService.bankTransferInsertion(account.getName(), 12);
} }
log.info("new account has been created: " + account.getName()); log.info("new account has been created: " + account.getName());
// 7. 发送注册成功的邮件 // 7. 发送注册成功的邮件
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment