京东商城api

This commit is contained in:
苏尹岚
2020-05-08 16:05:10 +08:00
parent c638575d8b
commit 80d050b1c5
7 changed files with 285 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
package jdshopapi
import (
"testing"
"git.rosy.net.cn/baseapi/utils"
)
func TestFindShopCategories(t *testing.T) {
result, err := api.FindShopCategories()
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestDeleteShopCategory(t *testing.T) {
result, err := api.DeleteShopCategory(14439186)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}