美团新apisku销售属性

This commit is contained in:
苏尹岚
2020-06-12 16:18:38 +08:00
parent 4a62418fb5
commit 25dedce4f4
4 changed files with 76 additions and 23 deletions

View File

@@ -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))
}