- 添加了部分到家订单级促销
This commit is contained in:
@@ -13,7 +13,7 @@ const (
|
||||
)
|
||||
|
||||
func TestGetStationInfoList(t *testing.T) {
|
||||
result, err := jdapi.GetStationInfoList(mustExistStoreID, []int64{mustExistSkuID})
|
||||
result, err := api.GetStationInfoList(mustExistStoreID, []int64{mustExistSkuID})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -23,7 +23,7 @@ func TestGetStationInfoList(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestQueryOpenUseable(t *testing.T) {
|
||||
result, err := jdapi.QueryOpenUseable([]*BaseStockCenterRequest{
|
||||
result, err := api.QueryOpenUseable([]*BaseStockCenterRequest{
|
||||
&BaseStockCenterRequest{
|
||||
StationNo: mustExistStoreID,
|
||||
SkuId: mustExistSkuID,
|
||||
@@ -38,7 +38,7 @@ func TestQueryOpenUseable(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestQueryStockCenter(t *testing.T) {
|
||||
result, err := jdapi.QueryStockCenter(mustExistStoreJXID, []*SkuIdEntity{
|
||||
result, err := api.QueryStockCenter(mustExistStoreJXID, []*SkuIdEntity{
|
||||
&SkuIdEntity{
|
||||
OutSkuId: mustExistSkuJXID,
|
||||
},
|
||||
@@ -52,7 +52,7 @@ func TestQueryStockCenter(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestBatchUpdateVendibility(t *testing.T) {
|
||||
result, err := jdapi.BatchUpdateVendibility("100130", "", []*StockVendibility{
|
||||
result, err := api.BatchUpdateVendibility("100130", "", []*StockVendibility{
|
||||
&StockVendibility{
|
||||
OutSkuId: "26919",
|
||||
DoSale: true,
|
||||
|
||||
Reference in New Issue
Block a user