From e758d5d8ed4a7e156890d48ccc782ac32d4078a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 22 Jan 2021 10:59:01 +0800 Subject: [PATCH] aa --- business/jxstore/cms/permission.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/business/jxstore/cms/permission.go b/business/jxstore/cms/permission.go index 7892d6475..2fb222c1e 100644 --- a/business/jxstore/cms/permission.go +++ b/business/jxstore/cms/permission.go @@ -347,21 +347,17 @@ func GetUserStoresResultMap(userID string) (resultMap map[int]int, err error) { for k, _ := range storeIDMap { storeIDs = append(storeIDs, k) } - fmt.Println("brandIDMap", brandIDMap) if brandIDMap[0] != 0 { if cityCodeMap[0] != 0 { - fmt.Println("11111111111111111111111111111111111111") stores, err = dao.GetStoreList(db, nil, nil, nil, nil, nil, "") } else { - fmt.Println("22222222222222222222222222222222222222222") + fmt.Println("22222222222222222222222222222222222222222", cityCodes, storeIDs) stores, err = dao.GetStoreList(db, storeIDs, cityCodes, nil, nil, nil, "") } } else { if cityCodeMap[0] != 0 { - fmt.Println("33333333333333333333333333333333333") stores, err = dao.GetStoreList(db, nil, nil, nil, brandIDs, nil, "") } else { - fmt.Println("44444444444444444444444444444444444444") stores, err = dao.GetStoreList(db, storeIDs, cityCodes, nil, brandIDs, nil, "") } }