接口地址:http://address/Campus take-out/fileUploadMerchant
字段 |
类型 |
含义 |
备注 |
code |
string |
状态码 |
200成功 400失败 |
msg |
string |
状态信息 |
无 |
time |
long |
格林威治时间1970年01月01日00时00分00秒到现在的毫秒数 |
无 |
object |
jsonObject |
返回的数据 |
无 |
i_id |
int |
主键id |
无 |
i_url |
string |
图片url |
无 |
i_path |
string |
图片存储根路径 |
无 |
i_filename |
string |
图片名称 |
无 |
i_priority |
string |
图片等级 |
无 |
i_uploadtime |
string |
图片上传时间 |
无 |
{
"code":"200",
"msg":"上传图片成功",
"time":1535767092173,
"object":
{
"i_id":0,
"i_path":"/root/apache-tomcat-8.0.52/webapps/uploads/merchant/8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_url":"http://address/uploads/merchant/8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_filename":"8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_uploadtime":"2018-09-01 09:58:12",
"i_priority":0
}
}
接口地址:http://address/Campus take-out/fileUploadEvaluate
字段 |
类型 |
含义 |
备注 |
code |
string |
状态码 |
200成功 400失败 |
msg |
string |
状态信息 |
无 |
time |
long |
格林威治时间1970年01月01日00时00分00秒到现在的毫秒数 |
无 |
object |
jsonObject |
返回的数据 |
无 |
i_id |
int |
主键id |
无 |
i_url |
string |
图片url |
无 |
i_path |
string |
图片存储根路径 |
无 |
i_filename |
string |
图片名称 |
无 |
i_priority |
string |
图片等级 |
无 |
i_uploadtime |
string |
图片上传时间 |
无 |
{
"code":"200",
"msg":"上传图片成功",
"time":1535767092173,
"object":
{
"i_id":0,
"i_path":"/root/apache-tomcat-8.0.52/webapps/uploads/evaluate/8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_url":"http://address/uploads/evaluate/8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_filename":"8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_uploadtime":"2018-09-01 09:58:12",
"i_priority":0
}
}
接口地址:http://address/Campus take-out/fileUploadFood
字段 |
类型 |
含义 |
备注 |
code |
string |
状态码 |
200成功 400失败 |
msg |
string |
状态信息 |
无 |
time |
long |
格林威治时间1970年01月01日00时00分00秒到现在的毫秒数 |
无 |
object |
jsonObject |
返回的数据 |
无 |
i_id |
int |
主键id |
无 |
i_url |
string |
图片url |
无 |
i_path |
string |
图片存储根路径 |
无 |
i_filename |
string |
图片名称 |
无 |
i_priority |
string |
图片等级 |
无 |
i_uploadtime |
string |
图片上传时间 |
无 |
{
"code":"200",
"msg":"上传图片成功",
"time":1535767092173,
"object":
{
"i_id":0,
"i_path":"/root/apache-tomcat-8.0.52/webapps/uploads/food/8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_url":"http://address/uploads/food/8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_filename":"8cb39fd9-2e2d-4162-8da1-0ae670af5b62.png",
"i_uploadtime":"2018-09-01 09:58:12",
"i_priority":0
}
}