param
This commit is contained in:
@@ -5706,10 +5706,7 @@ func FilterByB2B(locationList []*common.Store4User, token string) (retVal []*com
|
|||||||
}
|
}
|
||||||
|
|
||||||
//首页信息展示
|
//首页信息展示
|
||||||
//func GetHomePageByLocation(locationList []*common.Store4User, token string) (interface{}, string, error) {
|
//func GetHomePageByLocation(ctx *jxcontext.Context,locationList []*common.Store4User, token string) (interface{}, string, error) {
|
||||||
// var (
|
|
||||||
// //ctx *jxcontext.Context
|
|
||||||
// )
|
|
||||||
// // 获取用户权限,如普通用户不展示b2b相关目录,门店老板或者管理则展示全部
|
// // 获取用户权限,如普通用户不展示b2b相关目录,门店老板或者管理则展示全部
|
||||||
// result, _, err := FilterByB2B(locationList, token)
|
// result, _, err := FilterByB2B(locationList, token)
|
||||||
// if err != nil {
|
// if err != nil {
|
||||||
|
|||||||
@@ -64,7 +64,10 @@ func (c *StoreController) GetStores() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, "", err
|
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)
|
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
|
return retVal, "", err
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user