1
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user