Explorar o código

fix:完善登录逻辑

zqbao hai 11 meses
pai
achega
db5a3c189f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      services/user.go

+ 1 - 0
services/user.go

@@ -40,6 +40,7 @@ func BindUser(unionId, openId, phone, email, areaCode string) (userItem *models.
 				UserId:       userItem.UserId,
 				Phone:        phone,
 				AreaCode:     areaCode,
+				Status:       utils.UserStatusPotential,
 				RegisterTime: curTime,
 				ModifyTime:   curTime,
 			}