Commit 25d269e9 authored by Administrator's avatar Administrator

Merge branch 'upgrade' into 'master'

注册送12

See merge request !152
parents 1ff453f7 da437a3b
......@@ -472,11 +472,10 @@ public class AccountServiceImpl implements AccountService {
list.add("171");
list.add("184");
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);
}
log.info("new account has been created: " + account.getName());
// 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