小幸文案素材库API

小幸文案素材库API


根据团队素材 ID 获取素材详情

{"info":{"from":"runapi","type":"api","title":"","description":"根据团队素材 ID 获取素材详情","method":"post","url":"http://localhost:8501/teamMaterial/getTeamMaterialById/781","remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常","apiStatus":"0"},"request":{"params":{"mode":"json","urlencoded":[],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"","jsonDesc":[]},"headers":[{"name":"userId","type":"string","value":"6144","require":"1","remark":"用户ID","disable":"0"},{"name":"userSessionId","type":"string","value":"5ee17d83e85324c155fdf65b0c363a35","require":"1","remark":"用户会话ID","disable":"0"},{"name":"miniCode","type":"string","value":"xiaoxin","require":"1","remark":"小程序标识","disable":"0"}],"cookies":[{"name":"","value":""}],"auth":[],"query":[],"pathVariable":[]},"response":{"responseText":"{\n \"data\": {\n \"teamMaterialInfo\": {\n \"createTime\": 1652655129000,\n \"id\": 781,\n \"isTop\": 0,\n \"materialContent\": \"<p>常见的5种致盲眼病</p><p>眼睛👁️是唯一,没有更换配件</p>\",\n \"materialId\": 1757,\n \"materialTypeId\": 63,\n \"resourceType\": 2,\n \"shareNum\": 0,\n \"status\": 1,\n \"teamId\": 209,\n \"userId\": 6144,\n \"videoFormat\": \".mp4\",\n \"videoHeight\": 1280,\n \"videoSize\": \"320563\",\n \"videoUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/video/20220510/97f557e5-9286-47f2-afc0-58a8af63532f.mp4\",\n \"videoWidth\": 720\n }\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{"teamMaterialInfo":{"createTime":1652655129000,"id":781,"isTop":0,"materialContent":"<p>常见的5种致盲眼病</p><p>眼睛👁️是唯一,没有更换配件</p>","materialId":1757,"materialTypeId":63,"resourceType":2,"shareNum":0,"status":1,"teamId":209,"userId":6144,"videoFormat":".mp4","videoHeight":1280,"videoSize":"320563","videoUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/video/20220510/97f557e5-9286-47f2-afc0-58a8af63532f.mp4","videoWidth":720}},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"teamMaterialInfo\": {\n \"createTime\": 1652655129000,\n \"id\": 781,\n \"isTop\": 0,\n \"materialContent\": \"<p>常见的5种致盲眼病</p><p>眼睛👁️是唯一,没有更换配件</p>\",\n \"materialId\": 1757,\n \"materialTypeId\": 63,\n \"resourceType\": 2,\n \"shareNum\": 0,\n \"status\": 1,\n \"teamId\": 209,\n \"userId\": 6144,\n \"videoFormat\": \".mp4\",\n \"videoHeight\": 1280,\n \"videoSize\": \"320563\",\n \"videoUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/video/20220510/97f557e5-9286-47f2-afc0-58a8af63532f.mp4\",\n \"videoWidth\": 720\n }\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"access-control-allow-origin":"*","content-length":"517","content-type":"application/json;charset=UTF-8","date":"Thu, 19 May 2022 03:11:54 GMT","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},"responseStatus":200,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"teamMaterialInfo","type":"object","remark":"团队素材信息"},{"name":"teamMaterialInfo.createTime","type":"string","remark":"创建时间"},{"name":"teamMaterialInfo.id","type":"string","remark":"ID"},{"name":"teamMaterialInfo.isTop","type":"string","remark":"是否置顶(0-否 1-是)"},{"name":"teamMaterialInfo.materialContent","type":"string","remark":"素材内容"},{"name":"teamMaterialInfo.materialId","type":"string","remark":"原平台文章ID"},{"name":"teamMaterialInfo.materialTypeId","type":"string","remark":"行业或分类ID"},{"name":"teamMaterialInfo.resourceType","type":"string","remark":"资源类型 (1:文章,2:视频)"},{"name":"teamMaterialInfo.shareNum","type":"string","remark":"转发次数"},{"name":"teamMaterialInfo.status","type":"string","remark":"状态(0-删除 1-正常)"},{"name":"teamMaterialInfo.teamId","type":"string","remark":"团队ID"},{"name":"teamMaterialInfo.userId","type":"string","remark":"团队成员ID"},{"name":"teamMaterialInfo.videoFormat","type":"string","remark":"视频存储格式"},{"name":"teamMaterialInfo.videoHeight","type":"string","remark":"视频高度"},{"name":"teamMaterialInfo.videoSize","type":"string","remark":"视频存储大小"},{"name":"teamMaterialInfo.videoUrl","type":"string","remark":"视频URL"},{"name":"teamMaterialInfo.videoWidth","type":"string","remark":"视频宽度"},{"name":"head","type":"object","remark":"消息头"},{"name":"code","type":"string","remark":"返回码"},{"name":"msg","type":"string","remark":"消息文本"}],"remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常","responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"responseTime":1654,"responseSize":1},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML