mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-04 12:52:27 +08:00
fix: ImageUpload 接口报错 'media data missing hint:' (#832)
This commit is contained in:
@@ -166,6 +166,7 @@ func PostFile(fieldName, filePath, uri string) ([]byte, error) {
|
||||
IsFile: true,
|
||||
Fieldname: fieldName,
|
||||
FilePath: filePath,
|
||||
Filename: filePath,
|
||||
},
|
||||
}
|
||||
return PostMultipartForm(fields, uri)
|
||||
|
||||
Reference in New Issue
Block a user