diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 581ae4f3b..2cefaa465 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -5706,10 +5706,7 @@ func FilterByB2B(locationList []*common.Store4User, token string) (retVal []*com } //首页信息展示 -//func GetHomePageByLocation(locationList []*common.Store4User, token string) (interface{}, string, error) { -// var ( -// //ctx *jxcontext.Context -// ) +//func GetHomePageByLocation(ctx *jxcontext.Context,locationList []*common.Store4User, token string) (interface{}, string, error) { // // 获取用户权限,如普通用户不展示b2b相关目录,门店老板或者管理则展示全部 // result, _, err := FilterByB2B(locationList, token) // if err != nil { diff --git a/controllers/cms_store.go b/controllers/cms_store.go index 3799ac3c4..68eb67892 100644 --- a/controllers/cms_store.go +++ b/controllers/cms_store.go @@ -64,7 +64,10 @@ func (c *StoreController) GetStores() { if err != nil { return nil, "", err } - globals.SugarLogger.Debug("检测数据param", params.Ctx, params.Keyword, params.MapData, params.Offset, params.PageSize, timeList[0], timeList[1], params.OrderCountFrom, params.OrderCountTo) + globals.SugarLogger.Debug("=================", params.Ctx) + globals.SugarLogger.Debug("=================", params.Keyword) + globals.SugarLogger.Debug("=================", params.MapData) + globals.SugarLogger.Debug("检测数据param", params.Offset, params.PageSize, timeList[0], timeList[1], params.OrderCountFrom, params.OrderCountTo) retVal, err = cms.GetStores(params.Ctx, params.Keyword, params.MapData, params.Offset, params.PageSize, timeList[0], timeList[1], params.OrderCountFrom, params.OrderCountTo) return retVal, "", err })