Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3ea4aedd
authored
Apr 20, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整查询
parent
db3a005d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
user/userRepeat/main.go
user/userRepeat/main.go
View file @
3ea4aedd
...
...
@@ -53,10 +53,16 @@ func main() {
initDb
(
util
.
Configs
.
Liexin_databases
.
Dns
)
mobiles
:=
UserMain
.
QueryRepeatAccount
(
"mobile"
)
// 查询重复手机号码
emails
:=
UserMain
.
QueryRepeatAccount
(
"email"
)
// 查询重复邮箱
if
mobiles
!=
nil
{
checkUser
(
mobiles
,
1
)
}
emails
:=
UserMain
.
QueryRepeatAccount
(
"email"
)
// 查询重复邮箱
if
emails
!=
nil
{
checkUser
(
emails
,
2
)
}
time
.
Sleep
(
1
*
time
.
Second
)
}
...
...
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