1
This commit is contained in:
@@ -299,7 +299,7 @@ func (c *StoreController) TmpGetJxBadCommentsByStoreId() {
|
|||||||
if err = err2; err == nil {
|
if err = err2; err == nil {
|
||||||
pageSize := jxutils.FormalizePageSize(params.Size)
|
pageSize := jxutils.FormalizePageSize(params.Size)
|
||||||
offset := (params.Page - 1) * pageSize
|
offset := (params.Page - 1) * pageSize
|
||||||
retVal, err = cms.TmpGetJxBadCommentsByStoreId(params.Ctx, "", []int{params.JxStoreId}, offset, pageSize, params.Type, timeList[0], timeList[1])
|
retVal, err = cms.TmpGetJxBadCommentsByStoreId(params.Ctx, "", []int{params.JxStoreId}, offset, pageSize, params.Type, timeList[0], timeList[1], "", "")
|
||||||
}
|
}
|
||||||
return retVal, "", err
|
return retVal, "", err
|
||||||
})
|
})
|
||||||
@@ -314,6 +314,7 @@ func (c *StoreController) TmpGetJxBadCommentsByStoreId() {
|
|||||||
// @Param fromTime query string false "创建起始时间"
|
// @Param fromTime query string false "创建起始时间"
|
||||||
// @Param toTime query string false "创建结束时间"
|
// @Param toTime query string false "创建结束时间"
|
||||||
// @Param orderFlag query string false "订单平台[0,1,2]"
|
// @Param orderFlag query string false "订单平台[0,1,2]"
|
||||||
|
// @Param operatorPhone query string false "负责人电话"
|
||||||
// @Param offset query int false "起始页,从1开始"
|
// @Param offset query int false "起始页,从1开始"
|
||||||
// @Param pageSize query int false "页大小(-1表示无限大)"
|
// @Param pageSize query int false "页大小(-1表示无限大)"
|
||||||
// @Success 200 {object} controllers.CallResult
|
// @Success 200 {object} controllers.CallResult
|
||||||
@@ -325,7 +326,7 @@ func (c *StoreController) TmpGetJxBadComments() {
|
|||||||
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs); err == nil {
|
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs); err == nil {
|
||||||
timeList, err2 := jxutils.BatchStr2Time(params.FromTime, params.ToTime)
|
timeList, err2 := jxutils.BatchStr2Time(params.FromTime, params.ToTime)
|
||||||
if err = err2; err == nil {
|
if err = err2; err == nil {
|
||||||
retVal, err = cms.TmpGetJxBadCommentsByStoreId(params.Ctx, params.Keyword, storeIDs, params.Offset, params.PageSize, params.Type, timeList[0], timeList[1])
|
retVal, err = cms.TmpGetJxBadCommentsByStoreId(params.Ctx, params.Keyword, storeIDs, params.Offset, params.PageSize, params.Type, timeList[0], timeList[1], params.OrderFlag, params.OperatorPhone)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return retVal, "", err
|
return retVal, "", err
|
||||||
|
|||||||
Reference in New Issue
Block a user