查询未拣货订单商品统计

This commit is contained in:
苏尹岚
2020-02-21 16:14:16 +08:00
parent 05eb9b6a8e
commit f054243c77
4 changed files with 53 additions and 0 deletions

View File

@@ -988,3 +988,17 @@ func (c *OrderController) RefreshOrdersPriceInfo() {
return retVal, "", err
})
}
// @Title 获取某个门店订单中待拣货商品
// @Description 获取某个门店订单中待拣货商品
// @Param token header string true "认证token"
// @Param storeID query int true "门店ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetOrdersAccept [get]
func (c *OrderController) GetOrdersAccept() {
c.callGetOrdersAccept(func(params *tOrderGetOrdersAcceptParams) (retVal interface{}, errCode string, err error) {
retVal, err = orderman.GetOrdersAccept(params.Ctx, params.StoreID)
return retVal, "", err
})
}