Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
browser-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
browser-backend
Commits
0bf6404c
Commit
0bf6404c
authored
Aug 09, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix-sms' into 'master'
send sms See merge request
!247
parents
566354ba
45892467
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
AccountServiceImpl.java
...owserbackend/account/service/impl/AccountServiceImpl.java
+4
-4
No files found.
src/main/java/com/edgec/browserbackend/account/service/impl/AccountServiceImpl.java
View file @
0bf6404c
...
@@ -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
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment