This commit is contained in:
邹宗楠
2022-10-17 15:19:41 +08:00
parent 74c44465de
commit da79b02b95
2 changed files with 4 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ func (u *UserLogin) WxLogin(ctx *gin.Context, param *wxLogin.WxLoginReq) (*model
if err != nil {
return nil, err
}
globals.SugarLogger.Debugf("userParam =============:%s", utils.Format4Output(param, false))
// 检查用户是否存在
users, err := dao.GetUsers(globals.GetDB(), "", "", param.Phone, "")