From 1f447470ccb6f5c13e195ed6dac2fd1d7e21b45c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 27 Mar 2025 14:03:12 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index b8f7523c8..b6ef6c08b 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -584,8 +584,11 @@ func setStoreMapInfo(ctx *jxcontext.Context, db *dao.DaoDB, storesInfo *StoresIn func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interface{}, offset, pageSize int, orderTimeFrom, orderTimeTo time.Time, orderCountFrom, orderCountTo int) (retVal *StoresInfo, err error) { briefLevel := int(utils.ForceInterface2Int64(params["briefLevel"])) //权限 + globals.SugarLogger.Debugf("-----keyword :%s", keyword) + globals.SugarLogger.Debugf("-----params :%s", utils.Format4Output(params, false)) if permission.IsRoled(ctx) { if storeIDsMap, err := permission.GetUserStoresResultMap(ctx.GetUserID()); err == nil { + globals.SugarLogger.Debugf("-----storeIDsMap :%s", utils.Format4Output(storeIDsMap, false)) var storeIDs2 []int if params["storeIDs"] != nil { var storeIDs []int @@ -624,6 +627,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa } } } + globals.SugarLogger.Debugf("-----params2 :%s", utils.Format4Output(params, false)) sql, sqlParams, _, _, err := getStoresSql(ctx, keyword, params, orderTimeFrom, orderTimeTo) if err != nil { return nil, err