This commit is contained in:
邹宗楠
2026-05-15 09:17:29 +08:00
parent adeb6575cb
commit d7aab91a20
9 changed files with 156 additions and 32 deletions

View File

@@ -441,7 +441,7 @@ func TestRetailDelete(t *testing.T) {
// 测试删除门店分类列表
func TestDeleteCat(t *testing.T) {
result, err := api.RetailCatList("31226355")
result, err := api.RetailCatList("20760911")
fmt.Println(result, err)
for _, v := range result {
if v.Children != nil {
@@ -461,6 +461,12 @@ func TestDeleteCat(t *testing.T) {
}
func TestRetailList(t *testing.T) {
data, err := api.RetailList("20760911", 0, 100)
fmt.Println(data)
fmt.Println(err)
}
func TestRetailProductRules(t *testing.T) {
result, err := api.RetailProductRules(200002538)
t.Log(utils.Format4Output(result, false))