1
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/business/bidding"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -432,6 +434,24 @@ func (c *OrderController) GetOrderStatusList() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 加载物流信息(物料单子加载物流配送流程)
|
||||
// @Description 加载物流信息(物料单子加载物流配送流程)
|
||||
// @Param token header string true "认证token"
|
||||
// @Param data body string true "物流参数"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /LoadingLogisticsStatus [post]
|
||||
func (c *OrderController) LoadingLogisticsStatus() {
|
||||
c.callLoadingLogisticsStatus(func(params *tOrderLoadingLogisticsStatusParams) (interface{}, string, error) {
|
||||
var param = make([]*model.UpdateMaterialLogistic, 0, 0)
|
||||
if err := json.Unmarshal([]byte(params.Data), ¶m); err != nil {
|
||||
return nil, "", err
|
||||
}
|
||||
errList := bidding.LoadingLogistics(param)
|
||||
return errList, "", nil
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 查询门店营业数据
|
||||
// @Description 查询门店营业数据
|
||||
// @Param token header string true "认证token"
|
||||
|
||||
Reference in New Issue
Block a user