Explorar el Código

fix:完善登录逻辑

zqbao hace 9 meses
padre
commit
db5a3c189f
Se han modificado 1 ficheros con 1 adiciones y 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,
 			}