From 03efa23fb9865f1de4b56c31b2f31a15f049584d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 7 Nov 2024 13:37:35 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/user2.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/business/jxstore/cms/user2.go b/business/jxstore/cms/user2.go index 46bf955dd..2e05af556 100644 --- a/business/jxstore/cms/user2.go +++ b/business/jxstore/cms/user2.go @@ -498,10 +498,6 @@ func GetStoreList4User(ctx *jxcontext.Context, mobileNum, userID string) (storeL } } - if len(storeIDs) == model.NO && len(shortRoleNameList) == model.NO { - return nil, nil - } - storeList, err = dao.GetStoreListByMobileOrStoreIDs(dao.GetDB(), mobileNum, shortRoleNameList, storeIDs) return storeList, err