GetOrders和GetAfsOrders支持Post
This commit is contained in:
@@ -283,7 +283,7 @@ func (c *OrderController) ExportMTWaybills() {
|
||||
// @Param pageSize query int false "结果页大小(缺省为50,-1表示全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetOrders [get]
|
||||
// @router /GetOrders [get,post]
|
||||
func (c *OrderController) GetOrders() {
|
||||
c.callGetOrders(func(params *tOrderGetOrdersParams) (retVal interface{}, errCode string, err error) {
|
||||
var skuIDs []int
|
||||
@@ -335,7 +335,7 @@ func (c *OrderController) ExportOrders() {
|
||||
// @Param pageSize query int false "结果页大小(缺省为50,-1表示全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetAfsOrders [get]
|
||||
// @router /GetAfsOrders [get,post]
|
||||
func (c *OrderController) GetAfsOrders() {
|
||||
c.callGetAfsOrders(func(params *tOrderGetAfsOrdersParams) (retVal interface{}, errCode string, err error) {
|
||||
timeList, err := jxutils.BatchStr2Time(params.FromTime, params.ToTime)
|
||||
|
||||
Reference in New Issue
Block a user