按标签获取团队素材列表

简要描述
  • 按标签获取团队素材列表
请求URL
  • http://localhost:8501/teamMaterial/list
请求方式
  • post
Header
header 示例值 必选 类型 说明
userId 6144 string 用户ID
userSessionId 5ee17d83e85324c155fdf65b0c363a35 string 用户会话ID
miniCode xiaoxin string 小程序标识
请求参数示例
{
  "teamId": 1,
  "labelTypeId": 51,
  "category": 3,
  "pageNum": 1,
  "pageSize": 10
}
请求json字段说明
字段名 必选 类型 说明
teamId int 团队ID
labelTypeId int 标签ID (其中 -1:全部 0:最新)
category string 类目:1-品牌 2-行业 3-分类
pageNum int 当前页数
pageSize int 每页大小
成功返回示例
{
  "data": {
    "materialList": [
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1766,
        "materialContent": "<p>晚安~\r</p><p>\r</p><p>思念不因劳累而改变\r🌈</p><p>\r</p><p>问候不因疲惫而变懒💧\r</p><p>\r</p><p>祝福不因休息而变缓\r🌹</p><p>\r</p><p>关怀随星星眨眼\r🌟</p><p>\r</p><p>牵挂在深夜依然🌵</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220516/449a439a-5d3e-4a5f-82d8-5a8ab478eef4.jpg",
        "totalShareCount": 0,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1762,
        "lastShareTime": "2022-05-14 22:00:10",
        "materialContent": "<p>ⓛⓞⓥⓔ 晚安</p><p>抛开之前的一切烦恼</p><p>拥抱现在的每分每秒</p><p>放眼未来,迎接美好</p><p>愿你每天有微笑,每天心情好</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220513/03eb9015-fb57-489f-a28e-a35729dc05aa.jpg",
        "totalShareCount": 2,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1759,
        "lastShareTime": "2022-05-11 21:20:29",
        "materialContent": "<p>五指有长有短,做事成败皆有\r</p><p>多做有用之事,少说无用之话\r</p><p>万事皆可成 😀晚安,好梦</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220510/4b585415-223c-4721-a64e-bf1500ece76e.jpg",
        "totalShareCount": 1,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1752,
        "lastShareTime": "2022-05-15 19:08:25",
        "materialContent": "<p>ˢᴬᵞ ᴳᴼᴼᴰᴺᴵᴳᴴᵀ ᵀᴼ ᵀᴴᴱ ᴹᴼᴼᴺ 🐾\r</p><p>&nbsp;一切艰难险阻都是在考验你,\r</p><p>历劫洗礼方可成长, \r</p><p>唯有经历方为故事。</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220509/04e978d3-03b6-41eb-8b12-e0ced2176827.jpg",
        "totalShareCount": 2,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1742,
        "materialContent": "<p>——☆★ 晚安 ★☆——\r</p><p>人一辈子,\r</p><p>要么有钱有安全感,\r</p><p>要么有爱有幸福感。</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220507/0956483a-64b4-4292-9e8f-a41bdcf4e4d2.jpg",
        "totalShareCount": 0,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1739,
        "materialContent": "<p>睡一睡,精神好,烦恼消,快乐长;睡一睡,心情好,做美梦,甜蜜蜜;睡一睡,身体健,头脑清,眼睛明。愿你酣然入梦,晚安!</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220506/769b87a4-9acb-4445-8374-f5418d139f44.jpg",
        "totalShareCount": 0,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1732,
        "materialContent": "<p>不知道太阳有多高,只知道踮起脚尖来,可以更接近太阳的光芒 。假期结束,新的一天,愿时光不负自己,愿青春不负努力。早安!</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220505/2db37486-99d4-4560-b9ca-d9577755a193.jpg",
        "totalShareCount": 0,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1702,
        "lastShareTime": "2022-05-15 21:55:50",
        "materialContent": "<p>每个人的一生都有自己的使命,不用和别人比,好好活自己。晚安</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220429/0227c7ef-e231-499d-af5c-3d2fd7a5b714.jpg",
        "totalShareCount": 3,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1663,
        "lastShareTime": "2022-05-05 22:20:16",
        "materialContent": "<p>晚安\r🌙🌙</p><p>这个世界没有不劳而获的事,想要得到回报,就需要认真付出。生活的馈赠,就藏在你日复一日的努力中,所有看似从天而降的幸运,都不过是厚积薄发的结果。</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220415/2d0c5bca-1cbb-4014-9619-621df068ad3c.jpg",
        "totalShareCount": 4,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      },
      {
        "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJdoDDelRUQMHO89MlUoQrwaaSkfcofpZVqoZcGmtehXFIxx3UwzB2tYmuYPb3Wib1nThepBnGAOdQ/132",
        "id": 1662,
        "lastShareTime": "2022-05-11 21:23:18",
        "materialContent": "<p>今天是残酷的,明天会更残酷!后天会更美好!但大多数人都死在了明天晚上,而看不到后天早上的阳光!加油,坚持就是胜利!早点睡吧!晚安!后天会更好!</p>",
        "materialId": -1,
        "materialImgUrl": "https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialImage/20220415/ed9fed31-6b15-4be3-9fe3-6efec95f4da8.jpg",
        "totalShareCount": 3,
        "userName": "芳姐姐专业护眼~脱发白头发找我",
        "videoFormat": "",
        "videoHeight": 0,
        "videoSize": "0",
        "videoUrl": "",
        "videoWidth": 0
      }
    ],
    "pageResult": {
      "currentPage": 1,
      "pageSize": 10,
      "totalPage": 24,
      "totalRecord": 240
    }
  },
  "head": {
    "code": 200,
    "msg": "成功"
  }
}
成功返回示例的参数说明
参数名 类型 说明
data object 数据
materialList array 素材列表
materialList.avatarUrl string 用户头像Url
materialList.id string ID
materialList.materialContent string 素材内容
materialList.materialId string 素材ID(如果为 -1 表示平台文章,其他为发布文章)
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:服务端异常