美团新apisku销售属性
This commit is contained in:
@@ -284,3 +284,19 @@ func TestRetailSellStatus(t *testing.T) {
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestCategoryAttrList(t *testing.T) {
|
||||
result, err := api.CategoryAttrList(200002727)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestCategoryAttrValueList(t *testing.T) {
|
||||
result, err := api.CategoryAttrValueList(1200000094, "中国", 1, 5)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user