@15311494814
2016-06-20T09:00:38.000000Z
字数 776
阅读 463
功能: 上传艺人头像和大图,并保存信息在文件库和艺人标题和大图里
路径 : PUT | servlet/artist/uploadImage?id=艺人ID
body : *
{
"viewfileidsPath":"artist/2016/06/16/image/qweq31q32qe231s31qwe2_20160616142432.jpg",
"headfileidPath":"artist/2016/06/16/image/qweq31q32qe231s31qwe2_20160616142432.jpg"
}
正确返回:
{ "statusCode":"000000","
result":{
"uuid":"qweqwe123ewq",
"viewfileids":"qweq31123,qweqweqw312,qweqweqeqw321",
"headfileid":"wqe21qwe31",
"viewfileidsPath":"artist/2016/06/16/image/qwe1s31qwe2_20160616142432.jpg",
"headfileidPath":"artist/2016/06/16/image/1s31qwe2_20160616142432.jpg"
},
"error":""}
方法所需参数 | 必填 | 说明 |
---|---|---|
id | 是 | 艺人ID |
viewfileidsPath | 否 | 大图的相对文件路径集 |
headfileidPath | 否 | 头像的相对文件路径 |
正确返回值 | 说明 |
---|---|
statusCode | 状态码,正常为 000000 |
result | |
viewfileids | 大图的ID集 |
headfileid | 头像的ID |
viewfileidsPath | 大图的相对文件路径 |
headfileidPath | 头像的相对文件路径 |