|
@@ -38,13 +38,13 @@ func (l *SearchListLogic) SearchList(req *types.SearchReq) (resp *types.CommonRe
|
|
|
defer common.Catch()
|
|
|
t := time.Now()
|
|
|
limitFlag, isNew := util.GetFlag(l.r, l.w, req.UserId)
|
|
|
- var (
|
|
|
- mobileTag = []string{}
|
|
|
- )
|
|
|
- //工作台内
|
|
|
- if strings.Contains(l.r.Referer(), "BI") {
|
|
|
- mobileTag = req.MobileTag
|
|
|
- }
|
|
|
+ //var (
|
|
|
+ // mobileTag = []string{}
|
|
|
+ //)
|
|
|
+ ////工作台内
|
|
|
+ //if strings.Contains(l.r.Referer(), "BI") {
|
|
|
+ // mobileTag = req.MobileTag
|
|
|
+ //}
|
|
|
res, err := l.svcCtx.BxCore.GetSearchList(l.ctx, &bxcore.SearchReq{
|
|
|
AppId: req.AppId,
|
|
|
UserId: req.UserId,
|
|
@@ -92,7 +92,7 @@ func (l *SearchListLogic) SearchList(req *types.SearchReq) (resp *types.CommonRe
|
|
|
Period: req.Period,
|
|
|
ChangeHand: int64(req.ChangeHand),
|
|
|
Scale: req.Scale,
|
|
|
- MobileTag: mobileTag,
|
|
|
+ MobileTag: req.MobileTag,
|
|
|
UserAgent: l.r.UserAgent(),
|
|
|
})
|
|
|
|