From 8fce1da313c48fdeebae569aa65a6c6ce15f2e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 12 Apr 2022 10:51:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=AE=B6=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E8=BF=9B=E5=85=A5=E9=97=A8=E5=BA=97=E6=97=B6,?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E6=9D=83=E9=99=90=E6=A0=A1=E9=AA=8C,?= =?UTF-8?q?=E6=94=B9=E6=88=90=E5=95=86=E5=AE=B6=E7=94=A8=E6=88=B7=E5=8F=AA?= =?UTF-8?q?=E8=A6=81=E6=8B=A5=E6=9C=89=E8=AF=A5=E9=97=A8=E5=BA=97=E6=9D=83?= =?UTF-8?q?=E9=99=90=E5=B0=B1=E5=8F=AF=E4=BB=A5=E8=BF=9B=E5=85=A5,?= =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=94=A8=E6=88=B7=E6=9D=83=E9=99=90=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/user2.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/business/jxstore/cms/user2.go b/business/jxstore/cms/user2.go index e0090c4bd..c66c708b4 100644 --- a/business/jxstore/cms/user2.go +++ b/business/jxstore/cms/user2.go @@ -1243,15 +1243,15 @@ func UpdateUserLastInfo(ctx *jxcontext.Context, storeID, brandID int) (err error } func GetUserStoreAuth(ctx *jxcontext.Context, storeID int) (outStoreID int, err error) { - if permission.IsRoled(ctx) { + //if permission.IsRoled(ctx) { storeMap, _ := permission.GetUserStoresResultMap(ctx.GetUserID()) if storeMap[storeID] != 0 { return storeID, err } else { return 0, err } - } - return storeID, err + //} + //return storeID, err } func SendQywxPeopleCount(ctx *jxcontext.Context) (err error) {