This commit is contained in:
邹宗楠
2024-01-26 15:18:40 +08:00
parent ffb7bb81da
commit 4e6018a666
2 changed files with 7 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ func TestShopCategoryCreate(t *testing.T) {
}
func TestShopCategoryGet(t *testing.T) {
result, err := api.ShopCategoryGet("100274")
result, err := api.ShopCategoryGet("800493")
if err != nil {
t.Fatal(err)
} else {
@@ -25,6 +25,10 @@ func TestShopCategoryGet(t *testing.T) {
}
}
func TestShopGet222(t *testing.T) {
api.ShopGet("800493", 0)
}
func TestShopCategoryUpdate(t *testing.T) {
err := api.ShopCategoryUpdate(testShopID, 153760204017121, "水果2", 2)
if err != nil {