京东物料订单增加逆向完成状态
This commit is contained in:
@@ -828,6 +828,7 @@ func (a *API) GetJdSkuDirectPrice(skuID int) (price int64, err error) {
|
||||
"pageSize": 1,
|
||||
}
|
||||
body, err := a.AccessStorePage2("https://stock-store.jddj.com/storeproduct/query", jdParams, true, "")
|
||||
if body != nil {
|
||||
bodyStr := body.(map[string]interface{})["fakeData"].(string)
|
||||
result := regexpJDSkuDirectPrice.FindAllStringSubmatch(bodyStr, -1)
|
||||
if len(result) > 0 {
|
||||
@@ -837,5 +838,6 @@ func (a *API) GetJdSkuDirectPrice(skuID int) (price int64, err error) {
|
||||
return 0, err
|
||||
}
|
||||
}
|
||||
}
|
||||
return price, err
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ const (
|
||||
SoStatusCode10054 = "10054" //分拣中心发货
|
||||
SoStatusCode10033 = "10033" //站点验收
|
||||
SoStatusCode10034 = "10034" //妥投
|
||||
SoStatusCode10038 = "10038" //逆向完成
|
||||
)
|
||||
|
||||
type API struct {
|
||||
|
||||
Reference in New Issue
Block a user