京东商城创建商品修改

This commit is contained in:
苏尹岚
2020-05-13 10:29:36 +08:00
parent 8be594e91d
commit 7d7ad2c725
2 changed files with 2 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ type CreateSkuResult struct {
}
type UpdateWareParam struct {
WareID int `json:"wareId"`
WareID int64 `json:"wareId"`
Title string `json:"title"` //否 标题 商品名称 限制45个字符内
Weight int `json:"weight"` //否 无 商品重量,单位kg
}

View File

@@ -234,7 +234,7 @@ func TestFindValuesByAttrId(t *testing.T) {
}
func TestSaveVenderAttrValue(t *testing.T) {
err := api.SaveVenderAttrValue("100g", 1001027606, 13577, 2)
_, err := api.SaveVenderAttrValue("100g", 1001027606, 13577, 2)
if err != nil {
t.Fatal(err)
}