小幸文案素材库API

小幸文案素材库API


查看素材分享链接

{"info":{"from":"runapi","type":"api","title":"","description":"查看素材分享链接","method":"post","url":"http://localhost:8500/materialShareLink","remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常","apiStatus":"0"},"request":{"params":{"mode":"json","urlencoded":[{"name":"","type":"string","value":"","require":"1","remark":""}],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"{\n \"materialId\": 1,\n \"type\": 2\n}","jsonDesc":[{"name":"materialId","type":"int","remark":"文章ID","value":"文章ID","require":"1"},{"name":"type","type":"string","remark":"类型: 1-首页文章 2-团队文章","value":"","require":"1"}]},"headers":[],"cookies":[{"name":"","value":""}],"auth":[],"query":[{"name":"","type":"string","value":"","require":"1","remark":""}],"pathVariable":[]},"response":{"responseText":"{\n \"data\": {\n \"materialInfo\": {\n \"id\": 1,\n \"materialContent\": \"<p>在鸡零狗碎的日子里\r</p><p>找到✨属于自己的快乐\r</p><p>ᴳᵒᵒᵈ ᵐᵒʳⁿⁱⁿᵍ 🔅 早安~</p><p>\r</p><p>\r</p>\",\n \"materialTypeId\": 53,\n \"materialTypeLogo\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialTypeLogo/20211023/671e0e0b-02b4-464b-8f5e-11cc0549cc6e.jpeg\",\n \"materialTypeName\": \"早安\",\n \"resourceType\": 2,\n \"videoFormat\": \".mp4\",\n \"videoHeight\": 200,\n \"videoSize\": \"1675734\",\n \"videoUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialVideo/20211023/615639b1-39d3-4d7c-8d73-2c086c98abda.mp4\",\n \"videoWidth\": 200\n }\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{"materialInfo":{"id":1,"materialContent":"<p>在鸡零狗碎的日子里\r</p><p>找到✨属于自己的快乐\r</p><p>ᴳᵒᵒᵈ ᵐᵒʳⁿⁱⁿᵍ 🔅 早安~</p><p>\r</p><p>\r</p>","materialTypeId":53,"materialTypeLogo":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialTypeLogo/20211023/671e0e0b-02b4-464b-8f5e-11cc0549cc6e.jpeg","materialTypeName":"早安","resourceType":2,"videoFormat":".mp4","videoHeight":200,"videoSize":"1675734","videoUrl":"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialVideo/20211023/615639b1-39d3-4d7c-8d73-2c086c98abda.mp4","videoWidth":200}},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"materialInfo\": {\n \"id\": 1,\n \"materialContent\": \"<p>在鸡零狗碎的日子里\r</p><p>找到✨属于自己的快乐\r</p><p>ᴳᵒᵒᵈ ᵐᵒʳⁿⁱⁿᵍ 🔅 早安~</p><p>\r</p><p>\r</p>\",\n \"materialTypeId\": 53,\n \"materialTypeLogo\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialTypeLogo/20211023/671e0e0b-02b4-464b-8f5e-11cc0549cc6e.jpeg\",\n \"materialTypeName\": \"早安\",\n \"resourceType\": 2,\n \"videoFormat\": \".mp4\",\n \"videoHeight\": 200,\n \"videoSize\": \"1675734\",\n \"videoUrl\": \"https://zktuistatic.oss-cn-shenzhen.aliyuncs.com/miniProgram/materialVideo/20211023/615639b1-39d3-4d7c-8d73-2c086c98abda.mp4\",\n \"videoWidth\": 200\n }\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"access-control-allow-origin":"*","content-length":"669","content-type":"application/json;charset=UTF-8","date":"Thu, 26 May 2022 02:33:59 GMT","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},"responseStatus":200,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"materialInfo","type":"object","remark":"链接文章"},{"name":"materialInfo.id","type":"string","remark":"素材ID"},{"name":"materialInfo.materialContent","type":"string","remark":"素材内容"},{"name":"materialInfo.materialBrandId","type":"string","remark":"素材品牌ID"},{"name":"materialInfo.materialTypeId","type":"string","remark":"素材行业或分类ID"},{"name":"materialInfo.materialTypeLogo","type":"string","remark":"品牌/行业/分类Logo地址"},{"name":"materialInfo.materialTypeName","type":"string","remark":"素材品牌/行业/分类名称"},{"name":"materialInfo.resourceType","type":"string","remark":"资源类型 (1:文章,2:视频,3:素材)"},{"name":"materialInfo.videoFormat","type":"string","remark":"视频存储格式"},{"name":"materialInfo.videoHeight","type":"string","remark":"视频高度"},{"name":"materialInfo.videoSize","type":"string","remark":"视频存储大小"},{"name":"materialInfo.videoUrl","type":"string","remark":"视频URL"},{"name":"materialInfo.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":118,"responseSize":1},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML