Commit db3a005d by 朱继来

休眠一秒

parent 0bccaa26
Showing with 2 additions and 0 deletions
...@@ -13,6 +13,7 @@ import ( ...@@ -13,6 +13,7 @@ import (
"go-queue-server/dal/order/Order" "go-queue-server/dal/order/Order"
"go-queue-server/util" "go-queue-server/util"
"strconv" "strconv"
"time"
) )
func initDb(dns string) (err error) { func initDb(dns string) (err error) {
...@@ -57,6 +58,7 @@ func main() { ...@@ -57,6 +58,7 @@ func main() {
checkUser(mobiles, 1) checkUser(mobiles, 1)
checkUser(emails, 2) 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