京东商城增加图片等api

This commit is contained in:
苏尹岚
2020-05-18 18:14:56 +08:00
parent 92719d69bc
commit 6a48e3d9b1
8 changed files with 202 additions and 9 deletions

View File

@@ -160,6 +160,7 @@ func TestCreateSku(t *testing.T) {
MarketPrice: 10,
VenderID: 0,
BrandID: JxBrandId,
PromiseID: JdsPromiseID,
}
ware.Features = features
ware.MobileDesc = "aa"
@@ -288,3 +289,11 @@ func TestFindSkuStock(t *testing.T) {
}
// t.Log(utils.Format4Output(result, false))
}
func TestQueryPicture(t *testing.T) {
result, err := api.QueryPicture("[畅销]香蕉1")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}