This commit is contained in:
苏尹岚
2020-11-03 14:23:27 +08:00
parent ddc832936a
commit 929595069f

View File

@@ -273,6 +273,7 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
if user != nil && user.GetID() != "" {
userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP())
}
globals.SugarLogger.Debugf("tetetetet", utils.Format4Output(user, false))
//如果是小程序
if authType == "weixinmini" || authType == "weixinapp" {
appID := strings.Split(authSecret, ",")[0]