物料订单状态容错
This commit is contained in:
@@ -959,6 +959,9 @@ func GetMatterOrderStatus(ctx *jxcontext.Context, vendorOrderID string) (result
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if order.EclpOutID == "" {
|
||||
return nil, err
|
||||
}
|
||||
queryOrderStatus, err := api.JdEclpAPI.QueryOrderStatus(order.EclpOutID)
|
||||
getTrackMessagePlusByOrderResult, err := api.JdEclpAPI.GetTrackMessagePlusByOrder(vendorOrderID)
|
||||
for _, v := range queryOrderStatus.OrderStatusList {
|
||||
|
||||
@@ -659,7 +659,7 @@ func init() {
|
||||
beego.ControllerComments{
|
||||
Method: "GetMatterOrderStatus",
|
||||
Router: `/GetMatterOrderStatus`,
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
AllowHTTPMethods: []string{"get"},
|
||||
MethodParams: param.Make(),
|
||||
Filters: nil,
|
||||
Params: nil})
|
||||
|
||||
Reference in New Issue
Block a user