京东商城增加图片等api
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user