1
This commit is contained in:
@@ -38,7 +38,7 @@ func TestCategory(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGetCatePropertyV2(t *testing.T) {
|
func TestGetCatePropertyV2(t *testing.T) {
|
||||||
data, err := a.GetCatePropertyV2(29073)
|
data, err := a.GetCatePropertyV2(33622)
|
||||||
fmt.Println("err=====", err)
|
fmt.Println("err=====", err)
|
||||||
globals.SugarLogger.Debugf("data:=%s", utils.Format4Output(data, false))
|
globals.SugarLogger.Debugf("data:=%s", utils.Format4Output(data, false))
|
||||||
fmt.Println("data====", data) // 202209281558450102081001701D7B32C5
|
fmt.Println("data====", data) // 202209281558450102081001701D7B32C5
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ func TestCreateFolad(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestUploadImg(t *testing.T) {
|
func TestUploadImg(t *testing.T) {
|
||||||
accesstoken := `{"access_token":"60f530b2-9ab6-4723-b487-c094918f0d21","expires_in":1666257163,"scope":"SCOPE","shop_id":"","shop_name":"小时达开放平台对接专用店","refresh_token":"1220666a-5e88-458c-a8c0-06d949fbbd3f","authority_id":""}`
|
|
||||||
a := New("7136048270014416392", "c397aa9f-3927-47c4-8cfe-4d84e02602e0", accesstoken)
|
|
||||||
param := []Imgs{
|
param := []Imgs{
|
||||||
{Name: "测试图片1", Url: "https://image.jxc4.com/image/3f8d9759eda4863e28a0fff523f9d477.jpg"},
|
{Name: "测试图片1", Url: "https://image.jxc4.com/image/3f8d9759eda4863e28a0fff523f9d477.jpg"},
|
||||||
{Name: "测试图片2", Url: "https://image.jxc4.com/image/06a488c740fe9f6e40a7fffe67a39570.jpg"},
|
{Name: "测试图片2", Url: "https://image.jxc4.com/image/06a488c740fe9f6e40a7fffe67a39570.jpg"},
|
||||||
|
|||||||
Reference in New Issue
Block a user