订单修改
This commit is contained in:
@@ -11,6 +11,12 @@ import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
OrderStatusPopPause = "POP_ORDER_PAUSE"
|
||||
OrderStatusPause = "PAUSE"
|
||||
OrderStatusWait = "WAIT_SELLER_STOCK_OUT"
|
||||
)
|
||||
|
||||
//订单出库
|
||||
//https://open.jd.com/home/home#/doc/api?apiCateId=55&apiId=1948&apiName=jingdong.pop.order.shipment
|
||||
func (a *API) OrderShipment(orderID int64, logiCoprId, logiNo string) (err error) {
|
||||
@@ -86,6 +92,7 @@ type GetOrderResult struct {
|
||||
OrderID string `json:"orderId"`
|
||||
OrderSource string `json:"orderSource"`
|
||||
FreightPrice string `json:"freightPrice"`
|
||||
Pin string `json:"pin"`
|
||||
}
|
||||
|
||||
//查询单个订单
|
||||
@@ -96,7 +103,7 @@ func (a *API) GetOrder(orderID int64) (getOrderResult *GetOrderResult, err error
|
||||
"optional_fields": `orderType,payType,orderTotalPrice,orderSellerPrice,
|
||||
orderPayment,freightPrice,orderState,orderStateRemark,
|
||||
orderStartTime,orderEndTime,orderRemark,consigneeInfo,
|
||||
itemInfoList,pauseBizInfo`,
|
||||
itemInfoList,pauseBizInfo,pin`,
|
||||
// "order_state": "WAIT_SELLER_STOCK_OUT,PAUSE",
|
||||
})
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user