+ UpdateCurrentQty,
This commit is contained in:
@@ -57,3 +57,17 @@ func TestBatchUpdateVendibility(t *testing.T) {
|
||||
}
|
||||
baseapi.SugarLogger.Debug(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestUpdateVendibility(t *testing.T) {
|
||||
result, err := api.UpdateVendibility([]*QueryStockRequest{
|
||||
&QueryStockRequest{
|
||||
StationNo: "11053496",
|
||||
SkuId: 2012224772,
|
||||
DoSale: 1,
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
baseapi.SugarLogger.Debug(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user