个人中心:获取用户的分享素材列表

简要描述
  • 个人中心:获取用户的分享素材列表
请求URL
  • http://localhost:8500/userShareList
请求方式
  • post
Header
header 示例值 必选 类型 说明
userId 1 string 用户ID
userSessionId 1041f205711ed488137cc18638d55371 string 用户会话ID
miniCode xiaoxin string 小程序标识
请求参数示例
{
  "pageNum": 1,
  "pageSize": 3
}
请求json字段说明
字段名 必选 类型 说明
pageNum int 当前页数
pageSize int 每页大小
成功返回示例
{
  "data": {
    "userShareList": [
      {
        "createTime": "2021-10-18 16:18:13",
        "id": 4,
        "materialContent": "<p><p><br></p>[微笑]</p><p>12</p><p>45</p><p>[嘴唇]</p><p>[哈欠]<br></p>",
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210813/fba3d9c2-6480-4468-a9df-edc754612264.jpg,http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210813/f7a00401-03c4-49f8-aee2-29300527094a.jpg,http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210813/56cd0546-f095-4f23-ac35-bdd96c1a6eed.jpg,http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210813/26270df3-d42d-46de-8edc-540b6fbfc99b.jpg",
        "materialTypeId": 26,
        "materialTypeLogo": "",
        "materialTypeName": "搞笑",
        "resourceType": 1,
        "videoFormat": ".mp4",
        "videoHeight": 0,
        "videoSize": "243104",
        "videoUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/video/20210813/ea25dc6b-c482-4e2a-8878-76d01c21c2ec.mp4",
        "videoWidth": 0
      },
      {
        "createTime": "2021-10-18 16:12:38",
        "id": 4,
        "materialContent": "<p><p><br></p>[微笑]</p><p>12</p><p>45</p><p>[嘴唇]</p><p>[哈欠]<br></p>",
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210813/fba3d9c2-6480-4468-a9df-edc754612264.jpg,http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210813/f7a00401-03c4-49f8-aee2-29300527094a.jpg,http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210813/56cd0546-f095-4f23-ac35-bdd96c1a6eed.jpg,http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210813/26270df3-d42d-46de-8edc-540b6fbfc99b.jpg",
        "materialTypeId": 26,
        "materialTypeLogo": "",
        "materialTypeName": "搞笑",
        "resourceType": 1,
        "videoFormat": ".mp4",
        "videoHeight": 0,
        "videoSize": "243104",
        "videoUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/video/20210813/ea25dc6b-c482-4e2a-8878-76d01c21c2ec.mp4",
        "videoWidth": 0
      },
      {
        "createTime": "2021-10-18 16:10:43",
        "id": 1,
        "materialContent": "<p>1</p><p>2</p><p>3</p><p>4</p>",
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210812/d937a820-e60a-420c-bc93-5920f6e0e134.jpg",
        "materialTypeId": 1,
        "materialTypeLogo": "http://zktfile.wxslzf.com/ps/20210811/image2078112.jpg",
        "materialTypeName": "经典音乐",
        "resourceType": 1,
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      }
    ],
    "pageResult": {
      "currentPage": 1,
      "pageSize": 3,
      "totalPage": 2,
      "totalRecord": 4
    }
  },
  "head": {
    "code": 200,
    "msg": "成功"
  }
}
成功返回示例的参数说明
参数名 类型 说明
data object 数据
userShareList array 用户分享素材列表
userShareList.createTime string 分享时间
userShareList.id string 素材ID
userShareList.materialContent string 素材内容
userShareList.materialImgUrl string 素材图片
userShareList.materialTypeId string 素材类型ID
userShareList.materialTypeLogo string 分类Logo地址
userShareList.materialTypeName string 素材类型名称
userShareList.resourceType string 资源类型 (1:文章,2:视频,3:素材)
userShareList.videoFormat string 视频存储格式
userShareList.videoHeight string 视频高度
userShareList.videoSize string 视频存储大小
userShareList.videoUrl string 视频URL
userShareList.videoWidth string 视频宽度
pageResult object 页面信息
pageResult.currentPage string 当前页数
pageResult.pageSize string 每页大小
pageResult.totalPage string 总页数
pageResult.totalRecord string 总记录数
head object 消息头
code string 返回码
msg string 消息文本
备注

返回码 code 说明:
110:用户未登录
200:正常
400:客户端异常
500:服务端异常