京东商城增加图片等api

This commit is contained in:
苏尹岚
2020-05-18 18:14:56 +08:00
parent 92719d69bc
commit 6a48e3d9b1
8 changed files with 202 additions and 9 deletions

View File

@@ -2,6 +2,8 @@ package jdshopapi
import (
"testing"
"git.rosy.net.cn/baseapi/utils"
)
func TestCreateShopCategory(t *testing.T) {
@@ -25,3 +27,11 @@ func TestUpdateStoreStatus(t *testing.T) {
t.Fatal(err)
}
}
func TestNewInfoList(t *testing.T) {
result, err := api.NewInfoList(24332466)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}