1
This commit is contained in:
@@ -375,22 +375,24 @@ func TestRetailSellStatus2(t *testing.T) {
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
//根据分类id查询属性列表
|
||||
func TestCategoryAttrList(t *testing.T) {
|
||||
//result, err := api.CategoryAttrList(200002680)
|
||||
result, err := api.CategoryAttrList(200005621)
|
||||
result, err := api.CategoryAttrList(200002685)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
//func TestCategoryAttrValueList(t *testing.T) {
|
||||
// result, err := api.CategoryAttrValueList(1200000088, "苹果", 1, 5)
|
||||
// if err != nil {
|
||||
// t.Fatal(err)
|
||||
// }
|
||||
// t.Log(utils.Format4Output(result, false))
|
||||
//}
|
||||
//特殊属性查询
|
||||
func TestCategoryAttrValueList(t *testing.T) {
|
||||
result, err := api.CategoryAttrValueList(1200000094, "青团")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestRetailRecommendTag(t *testing.T) {
|
||||
result, err := api.RetailRecommendTag("飞利浦电吹风", "", 0, 1)
|
||||
|
||||
Reference in New Issue
Block a user