This commit is contained in:
邹宗楠
2025-07-22 16:18:21 +08:00
parent e4c65b1199
commit 7787c5ea1d
5 changed files with 58 additions and 18 deletions

View File

@@ -78,8 +78,8 @@ func TestGetCustomAndCategoryList(t *testing.T) {
}
func TestUploadImg(t *testing.T) {
filePath := "https://image.jxc4.com/image/3559d4696be3bf241ee6b89ca3713cf7.pdf"
data, err := api.FileUpload(filePath, "SPLIT_ENTRUST_FILE", "0", "false")
filePath := "https://image.jxc4.com/image/2776ca405f6d4bb70a5afa421792e5c6.jpg"
data, err := api.FileUpload(filePath, "SHOP_INSIDE_IMG", "0", "false")
if err != nil {
fmt.Printf("Error: %v\n", err)
} else {