aa
This commit is contained in:
@@ -318,7 +318,7 @@ type OrderInfo struct {
|
||||
}
|
||||
|
||||
type OrderQueryParam struct {
|
||||
PageNo int `json:"pageNo,omitempty"` // 当前页数,默认:1
|
||||
PageNo int `json:"pageNo,omitempty"` // 当前页数,默认:1
|
||||
PageSize int `json:"pageSize,omitempty"` // 每页条数,默认:20,最大值100
|
||||
OrderID int64 `json:"orderId,omitempty"`
|
||||
|
||||
@@ -746,3 +746,19 @@ func (a *API) CheckSelfPickCode(selfPickCode, orderID, operPin string) (err erro
|
||||
_, err = a.AccessAPINoPage("ocs/checkSelfPickCode", jdParams, nil, nil, nullResultParser)
|
||||
return err
|
||||
}
|
||||
|
||||
type RefDiffAdjustSkuList struct {
|
||||
SkuId string `json:"skuId"`
|
||||
SkuActualWeight int `json:"skuActualWeight"`
|
||||
}
|
||||
|
||||
// 生成退差价逆向单接口
|
||||
//http://opendj.jd.com/staticnew/widgets/resources.html?groupid=169&apiid=74ed627f2d2c45dbb804c900159e4c6a
|
||||
func (a *API) GenerateReverseOrder(orderID string, skuList []*RefDiffAdjustSkuList) (err error) {
|
||||
jdParams := map[string]interface{}{
|
||||
"orderId": orderID,
|
||||
"refDiffAdjustSkuList": skuList,
|
||||
}
|
||||
_, err = a.AccessAPINoPage("reverse/generateReverseOrder", jdParams, nil, nil, nullResultParser)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user