liuxiaolong
2020-08-10 90ea85cab00026d7bf9bbdbd65bde9e769737d6f
service/userService.go
@@ -56,7 +56,10 @@
            }
            //客户端cid绑定别名
            if cid != "" {
               go BindAlias(cid, phoneNum)
               go func() {
                  bindR, bindE := BindAlias(cid, phoneNum)
                  fmt.Println("bind cid:",cid, "phoneNum:",phoneNum,"result:", bindR, "err:", bindE)
               }()
            }
            return true, &vo.UserInfo{
               UserId: u.Id,
@@ -78,7 +81,10 @@
         }
         //客户端cid绑定别名
         if cid != "" {
            go BindAlias(cid, phoneNum)
            go func() {
               bindR, bindE := BindAlias(cid, phoneNum)
               fmt.Println("bind cid:",cid, "phoneNum:",phoneNum,"result:", bindR, "err:", bindE)
            }()
         }
         return true, &vo.UserInfo{
            UserId: tmpUser.Id,