Commit 0bf6404c authored by Administrator's avatar Administrator

Merge branch 'hotfix-sms' into 'master'

send sms

See merge request !247
parents 566354ba 45892467
...@@ -467,8 +467,8 @@ public class AccountServiceImpl implements AccountService { ...@@ -467,8 +467,8 @@ public class AccountServiceImpl implements AccountService {
param.put("referral", "123456"); param.put("referral", "123456");
} }
com.edgec.browserbackend.common.commons.utils.SmsUtils.sendNewAccountSms("15919921106", com.edgec.browserbackend.common.commons.utils.SmsUtils.SmsTemplateCode.NEWACCOUNT, param); //com.edgec.browserbackend.common.commons.utils.SmsUtils.sendNewAccountSms("15919921106", com.edgec.browserbackend.common.commons.utils.SmsUtils.SmsTemplateCode.NEWACCOUNT, param);
com.edgec.browserbackend.common.commons.utils.SmsUtils.sendNewAccountSms("13570690305", com.edgec.browserbackend.common.commons.utils.SmsUtils.SmsTemplateCode.NEWACCOUNT, param); //com.edgec.browserbackend.common.commons.utils.SmsUtils.sendNewAccountSms("13570690305", com.edgec.browserbackend.common.commons.utils.SmsUtils.SmsTemplateCode.NEWACCOUNT, param);
// 6. 使用手机注册且填写了正确的邀请码就送 16 元体验金 // 6. 使用手机注册且填写了正确的邀请码就送 16 元体验金
List<String> list = new ArrayList<>(); List<String> list = new ArrayList<>();
...@@ -477,8 +477,8 @@ public class AccountServiceImpl implements AccountService { ...@@ -477,8 +477,8 @@ public class AccountServiceImpl implements AccountService {
list.add("184"); list.add("184");
list.add("170"); list.add("170");
if (!StringUtils.isEmpty(account.getPhoneNumber()) && !list.contains(account.getPhoneNumber().substring(0, 3)) && inviter != null) { if (!StringUtils.isEmpty(account.getPhoneNumber()) && !list.contains(account.getPhoneNumber().substring(0, 3)) && inviter != null) {
if(inviter.getPromotion() != null){ if (inviter.getPromotion() != null) {
if("666666".equals(inviter.getPromotion().getCode()) || "590523".equals(inviter.getPromotion().getCode()) || "102565".equals(inviter.getPromotion().getCode())){ if ("666666".equals(inviter.getPromotion().getCode()) || "590523".equals(inviter.getPromotion().getCode()) || "102565".equals(inviter.getPromotion().getCode())) {
paymentService.bankTransferInsertion(account.getName(), globalFieldRepository.findAll().get(0).getRegisterGift(), 4); paymentService.bankTransferInsertion(account.getName(), globalFieldRepository.findAll().get(0).getRegisterGift(), 4);
} }
} }
......
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