京东商城创建商品修改
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user