This commit is contained in:
邹宗楠
2025-04-18 09:57:44 +08:00
parent 7c05b5f324
commit 97f0b7a5f8
2 changed files with 16 additions and 3 deletions

View File

@@ -354,12 +354,13 @@ func (c *OrderController) GetOrders() {
// @Param statuss query string false "订单状态列表[1,2,3],缺省不限制"
// @Param lockStatuss query string false "订单锁定状态列表[1,2,3],缺省不限制"
// @Param cities query string false "城市code列表[1,2,3],缺省不限制"
// @Param isAsync query bool false "是否异步"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /ExportOrders [get]
func (c *OrderController) ExportOrders() {
c.callExportOrders(func(params *tOrderExportOrdersParams) (retVal interface{}, errCode string, err error) {
retVal, err = orderman.FixedOrderManager.ExportOrders(params.Ctx, params.FromDate, params.ToDate, params.MapData)
retVal, err = orderman.FixedOrderManager.ExportOrders(params.Ctx, params.FromDate, params.ToDate, params.MapData, params.IsAsync)
return retVal, "", err
})
}