按标签获取团队素材列表

简要描述
  • 按标签获取团队素材列表
请求URL
  • http://localhost:8500/teamMaterial/list
请求方式
  • post
Header
header 必选 类型 说明
userId string 用户ID
userSessionId string 用户会话ID
miniCode string 小程序标识
请求参数示例
{
  "teamId": 1,
  "labelTypeId": 0,
  "pageNum": 3,
  "pageSize": 10
}
json字段说明
字段名 必选 类型 说明
teamId int 团队ID
labelTypeId int 标签ID (其中 -1:全部 0:最新)
pageNum int 当前页数
pageSize int 每页大小
返回示例
{
  "data": {
    "materialList": [
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 66,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>2222222222222222[惊讶][惊讶][惊讶][惊讶]</p>",
        "materialId": 49,
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20211014/29d8bd83-cd5a-44ca-a8c2-68139fb99806.jpg",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 49,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>[咒骂][微笑]</p><p>[阴险]<br></p>",
        "materialId": 6,
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20210814/3db9482e-ee14-4b15-b9c4-91f925b94452.jpg",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 53,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>这风儿还在刮,乱了谁的年华</p>",
        "materialId": 16,
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20211012/1082d031-768f-422b-b776-7c89f40a42c8.jpg",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 58,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>胜多负少的方式[心碎][心碎][心碎]</p>",
        "materialId": 40,
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20211014/928dbe16-2863-487c-a9af-b47235692e03.jpg",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 62,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>发大水覆盖返回返回[偷笑][偷笑][亲亲][月亮][闭嘴][骷髅][炸弹][阴险]</p>",
        "materialId": 45,
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20211014/325bd9ea-ca2e-4750-862c-94e93e7d29d3.jpg",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 67,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>3333333333333[囧][囧][囧][鄙视][鄙视][鄙视]</p>",
        "materialId": 50,
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20211014/5532c0c5-ba46-4c6d-88a2-21c1c404e9fb.jpg",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 50,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>1</p><p>2</p><p>[疑问]</p><p><br></p>",
        "materialId": 9,
        "materialImgUrl": "",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": ".mp4",
        "videoHeight": 60,
        "videoSize": "243104",
        "videoUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/video/20210816/9f2695da-513d-4248-8e57-3cf56ab93107.mp4",
        "videoWidth": 0
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 54,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>前奏响起,满满的回忆</p>",
        "materialId": 23,
        "materialImgUrl": "",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": ".mp4",
        "videoHeight": 200,
        "videoSize": "4502271",
        "videoUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/video/20211013/2f64044b-e4b1-4205-a7d5-ed896147e64f.mp4",
        "videoWidth": 300
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 59,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>是否发送到多个</p>",
        "materialId": 41,
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20211014/08fcb11b-1fb3-471d-87ec-0f84671d12f6.jpeg",
        "totalShareCount": 2,
        "userName": "灰太狼",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "http://thirdwx.qlogo.cn/mmopen/vi_32/q1sqEp6ibqsH0hqnjdoGKiaF35Veexnib2ABOJ8qKxsic9F2r9Ew279ZjJKVxZeiba0fMgkEPPT0UHHaVLorA4Tkznw/132",
        "id": 63,
        "lastShareTime": "2021-10-19 17:49:02",
        "materialContent": "<p>发大水覆盖返回返回[偷笑][偷笑][亲亲][月亮][闭嘴][骷髅][炸弹][阴险]</p>",
        "materialId": 45,
        "materialImgUrl": "http://zktstaticstate.oss-cn-shenzhen.aliyuncs.com/material/20211014/325bd9ea-ca2e-4750-862c-94e93e7d29d3.jpg",
        "totalShareCount": 0,
        "userName": "灰太狼",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      }
    ],
    "pageResult": {
      "currentPage": 3,
      "pageSize": 10,
      "totalPage": 10,
      "totalRecord": 92
    }
  },
  "head": {
    "code": 200,
    "msg": "成功"
  }
}
返回参数说明
参数名 类型 说明
data object 数据
materialList array 素材列表
materialList.avatarUrl string 用户头像Url
materialList.id string ID
materialList.lastShareTime string 最后转发时间
materialList.materialContent string 素材内容
materialList.materialId string 素材ID
materialList.materialImgUrl string 素材图片Url
materialList.totalShareCount string 转发总次数
materialList.userName string 用户昵称
materialList.videoFormat string 视频存储格式
materialList.videoHeight string 视频高度
materialList.videoSize string 视频存储大小
materialList.videoUrl string 视频URL
materialList.videoWidth string 视频宽度
pageResult object 页面信息
pageResult.currentPage string 当前页数
pageResult.pageSize string 每页大小
pageResult.totalPage string 总页数
pageResult.totalRecord string 总记录数
head object 消息头
code string 返回码
msg string 消息文本
备注

labelTypeId=-1 时,表示随机获取文章,此时数据不作分页处理,即不返回 pageResult

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