文档
测试

文件上传

POST
http://{{host}}/index.php?s=%2Fapi%2Fupload%2Fimage&wxapp_id=10001&token=5d974deb299931300443ff7a48f0b5c7

请求参数

参数名
类型
描述
必填
s
string
示例:/api/upload/image
必填
wxapp_id
int
示例:10001
必填
token
string
示例:5d974deb299931300443ff7a48f0b5c7
必填
iFile
string
示例:
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:图片上传成功
必填
data
object
数据字典
必填
file_id
string
示例:25212
必填
file_path
string
示例:http://btys.vshop365.cn/uploads/2021030117373494e7e0337.gif
必填