- 京东门店商品操作userPin都用utils.GetAPIOperator修饰
This commit is contained in:
@@ -137,7 +137,7 @@ func (a *API) BatchUpdateCurrentQtys(outStationNo, stationNo string, skuStockLis
|
||||
}
|
||||
jdParams := map[string]interface{}{
|
||||
"skuStockList": skuStockList,
|
||||
"userPin": userPin,
|
||||
"userPin": utils.GetAPIOperator(userPin),
|
||||
}
|
||||
if outStationNo != "" {
|
||||
jdParams["outStationNo"] = outStationNo
|
||||
@@ -189,7 +189,7 @@ func (a *API) BatchUpdateVendibility(outStationNo, stationNo string, stockVendib
|
||||
}
|
||||
jdParams := map[string]interface{}{
|
||||
"stockVendibilityList": stockVendibilityList,
|
||||
"userPin": userPin,
|
||||
"userPin": utils.GetAPIOperator(userPin),
|
||||
}
|
||||
if outStationNo != "" {
|
||||
jdParams["outStationNo"] = outStationNo
|
||||
@@ -223,7 +223,7 @@ func (a *API) QueryStockCenter(outStationNo string, skuIds []*SkuIdEntity, userP
|
||||
jdParams := map[string]interface{}{
|
||||
"outStationNo": outStationNo,
|
||||
"skuIds": skuIds,
|
||||
"userPin": userPin,
|
||||
"userPin": utils.GetAPIOperator(userPin),
|
||||
}
|
||||
result, err := a.AccessAPINoPage("stock/queryStockCenter", jdParams, nil, nil, genNoPageResultParser("retCode", "retMsg", "data", "0"))
|
||||
if err == nil && result != nil {
|
||||
|
||||
Reference in New Issue
Block a user