Commit 3ea4aedd by 朱继来

调整查询

parent db3a005d
Showing with 8 additions and 2 deletions
......@@ -53,10 +53,16 @@ func main() {
initDb(util.Configs.Liexin_databases.Dns)
mobiles := UserMain.QueryRepeatAccount("mobile") // 查询重复手机号码
if mobiles != nil {
checkUser(mobiles, 1)
}
emails := UserMain.QueryRepeatAccount("email") // 查询重复邮箱
checkUser(mobiles, 1)
checkUser(emails, 2)
if emails != nil {
checkUser(emails, 2)
}
time.Sleep(1*time.Second)
}
......
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 sign in to comment