1
This commit is contained in:
@@ -573,6 +573,8 @@ func (c *OrderController) StaleIndexInfo() {
|
||||
// @Param end query string true "结束时间"
|
||||
// @Param storeID query string false "门店id,[1,2,3]"
|
||||
// @Param rank query string true "排序方式,订单中粮,[DESC,ASC]"
|
||||
// @Param offset query int false "门店列表起始序号(以0开始,缺省为0)"
|
||||
// @Param pageSize query int false "门店列表页大小(缺省为50,-1表示全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /StoreOrderRank [get]
|
||||
@@ -619,7 +621,7 @@ func (c *OrderController) StoreOrderRank() {
|
||||
if len(storeIdList) == model.NO {
|
||||
storeIdList = dataList
|
||||
}
|
||||
retVal, err = dao.StaticStoreOrderChange(dao.GetDB(), storeIdList, timeList[0], timeList[1], params.Rank)
|
||||
retVal, err = dao.StaticStoreOrderChange(dao.GetDB(), storeIdList, timeList[0], timeList[1], params.Rank, params.Offset, params.PageSize)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user