[关闭]
@15311494814 2016-06-20T09:00:38.000000Z 字数 776 阅读 463

艺人表Servlert

servlet: - ArtistServlet

1,上传图片(艺人大图和标题图片)

功能: 上传艺人头像和大图,并保存信息在文件库和艺人标题和大图里
路径 : PUT | servlet/artist/uploadImage?id=艺人ID
body : *

  1. {
  2. "viewfileidsPath":"artist/2016/06/16/image/qweq31q32qe231s31qwe2_20160616142432.jpg",
  3. "headfileidPath":"artist/2016/06/16/image/qweq31q32qe231s31qwe2_20160616142432.jpg"
  4. }

正确返回:

 { "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 头像的相对文件路径
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注