This commit is contained in:
richboo111
2022-08-24 09:48:05 +08:00
parent 19ffeb61ab
commit fa9536fdce
2 changed files with 5 additions and 5 deletions

View File

@@ -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 {

View File

@@ -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
})