- 内嵌APICookie后,删除一些冗余的数据成员
This commit is contained in:
@@ -16,7 +16,7 @@ func TestShopCategoryCreate(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestShopCategoryGet(t *testing.T) {
|
||||
result, err := api.ShopCategoryGet("102493")
|
||||
result, err := api.ShopCategoryGet("300034")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
} else {
|
||||
@@ -69,7 +69,7 @@ func TestSkuUploadRTF(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSkuCreate(t *testing.T) {
|
||||
result, err := api.SkuCreate(testShopID, 17, map[string]interface{}{
|
||||
result, err := api.SkuCreate("", testShopID, 17, map[string]interface{}{
|
||||
"name": "测试商品",
|
||||
"status": SkuStatusOnline,
|
||||
"left_num": MaxLeftNum,
|
||||
|
||||
Reference in New Issue
Block a user