From 5dd90ba32c09fc641dbcaaa03ecb084bf5ccbfa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 4 Nov 2020 14:29:31 +0800 Subject: [PATCH] testover --- business/auth2/auth2.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index a819b9a9b..617d6d6db 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -4,7 +4,6 @@ import ( "bytes" "encoding/base64" "errors" - "fmt" "regexp" "strings" "time" @@ -274,14 +273,12 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string if user != nil && user.GetID() != "" { userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP()) } - fmt.Println("ssssssss", utils.Format4Output(user, false), authType, user.GetID()) //如果是小程序 if authType == "weixinmini" || authType == "weixinapp" { appID := strings.Split(authSecret, ",")[0] if appID == "wx08a5c2a8581414ff" || appID == "wx2d6949f724b2541d" || appID == "wx18111a41fd17f24f" { //菜市或者果园 if user != nil { binds, err := dao.GetUserBindAuthInfo(dao.GetDB(), user.GetID(), 0, nil, "", "", "wx2bb99eb5d2c9b82c") - fmt.Println("ssssssss1", utils.Format4Output(binds, false)) if err != nil { return authInfo, err }