京东商城增加图片等api
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user