From f1d6c0cff5b160fabf70eeea58533f76d2f5fa9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 22 Mar 2022 18:55:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=A4=E9=94=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/auth2/auth2.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index efb7bb5c0..975d44180 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -284,9 +284,10 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string //如果是小程序 if authType == "weixinmini" || authType == "weixinapp" { appID := strings.Split(authSecret, ",")[0] + // 菜市商家 // // // 京西商城 if appID == "wx08a5c2a8581414ff" || appID == "wx2d6949f724b2541d" || appID == "wx18111a41fd17f24f" || appID == "wx4b5930c13f8b1170" { //菜市或者果园 if authInfo.AuthBindInfo.UserID != "" { - binds, err := dao.GetUserBindAuthInfo(dao.GetDB(), authInfo.AuthBindInfo.UserID, 0, nil, "", "", []string{appID}) + binds, err := dao.GetUserBindAuthInfo(dao.GetDB(), authInfo.AuthBindInfo.UserID, 0, nil, "", "", []string{"wx2bb99eb5d2c9b82c", "wx4b5930c13f8b1170"}) if err != nil { return authInfo, err }