- 添加了部分到家订单级促销

This commit is contained in:
gazebo
2019-04-04 21:03:10 +08:00
parent ef69a4f60d
commit c3e3c32d44
14 changed files with 294 additions and 107 deletions

View File

@@ -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,