京东商城订单状态错误返回修改

This commit is contained in:
suyl
2020-06-24 13:01:28 +08:00
parent 961e4378ee
commit a872416d01

View File

@@ -46,6 +46,9 @@ func (p *PurchaseHandler) GetOrderStatus(vendorOrgCode, vendorOrderID string) (s
Current: 1,
PageSize: 1,
})
if err != nil {
return 0, err
}
return status2Jxstatus(orderResult.OrderList[0].OrderStatus), err
}