素材库小程序接口1

素材库小程序接口1


获取小程序的轮播图列表

{"info":{"from":"runapi","type":"api","title":"","description":"获取小程序的轮播图列表","method":"get","url":"http://localhost:8500/slideshow/list","remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常"},"request":{"params":{"mode":"urlencoded","urlencoded":[],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"{\n \"key\": \"2\",\n \"pageNum\": 1,\n \"pageSize\": 3\n}","jsonDesc":[{"name":"key","type":"string","value":"","require":"1","remark":"搜索关键字"},{"name":"pageNum","type":"string","value":"","require":"1","remark":"当前页数"},{"name":"pageSize","type":"string","value":"","require":"1","remark":"每页大小"}]},"headers":[{"name":"miniCode","type":"string","value":"xiaoxin","require":"1","remark":"小程序标识","disable":"0"}],"cookies":[{"name":"","value":""}],"auth":[]},"response":{"responseText":"{\n \"data\": {\n \"slideshowList\": [\n {\n \"connectUrl\": \"https://www.baidu.com/\",\n \"imgUrl\": \"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg5.51tietu.net%2Fpic%2F2019-082011%2Fbdurema21vtbdurema21vt.jpg&refer=http%3A%2F%2Fimg5.51tietu.net&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768826&t=9a797e9c0269670f6a75a63ace1840b4\",\n \"sort\": 0\n },\n {\n \"connectUrl\": \"https://www.baidu.com/\",\n \"imgUrl\": \"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.win4000.com%2Fpic%2F8%2F4a%2F17c41174012.jpg%3Fdown&refer=http%3A%2F%2Fpic1.win4000.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=de0569e0de8fce86d0df6d28892eaff8\",\n \"sort\": 1\n },\n {\n \"connectUrl\": \"https://www.baidu.com/\",\n \"imgUrl\": \"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201608%2F20%2F20160820165627_QMNnA.jpeg&refer=http%3A%2F%2Fb-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=76ba2abe298d6983068a704eaac88fcf\",\n \"sort\": 2\n },\n {\n \"connectUrl\": \"https://www.baidu.com/\",\n \"imgUrl\": \"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn19%2F752%2Fw690h862%2F20181115%2Ff6f8-hnvukff4593280.jpg&refer=http%3A%2F%2Fn.sinaimg.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=0282bf3436ddb9bcea4a96a11a6521ce\",\n \"sort\": 3\n }\n ]\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseOriginal":{"data":{"slideshowList":[{"connectUrl":"https://www.baidu.com/","imgUrl":"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg5.51tietu.net%2Fpic%2F2019-082011%2Fbdurema21vtbdurema21vt.jpg&refer=http%3A%2F%2Fimg5.51tietu.net&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768826&t=9a797e9c0269670f6a75a63ace1840b4","sort":0},{"connectUrl":"https://www.baidu.com/","imgUrl":"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.win4000.com%2Fpic%2F8%2F4a%2F17c41174012.jpg%3Fdown&refer=http%3A%2F%2Fpic1.win4000.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=de0569e0de8fce86d0df6d28892eaff8","sort":1},{"connectUrl":"https://www.baidu.com/","imgUrl":"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201608%2F20%2F20160820165627_QMNnA.jpeg&refer=http%3A%2F%2Fb-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=76ba2abe298d6983068a704eaac88fcf","sort":2},{"connectUrl":"https://www.baidu.com/","imgUrl":"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn19%2F752%2Fw690h862%2F20181115%2Ff6f8-hnvukff4593280.jpg&refer=http%3A%2F%2Fn.sinaimg.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=0282bf3436ddb9bcea4a96a11a6521ce","sort":3}]},"head":{"code":200,"msg":"成功"}},"responseExample":"{\n \"data\": {\n \"slideshowList\": [\n {\n \"connectUrl\": \"https://www.baidu.com/\",\n \"imgUrl\": \"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg5.51tietu.net%2Fpic%2F2019-082011%2Fbdurema21vtbdurema21vt.jpg&refer=http%3A%2F%2Fimg5.51tietu.net&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768826&t=9a797e9c0269670f6a75a63ace1840b4\",\n \"sort\": 0\n },\n {\n \"connectUrl\": \"https://www.baidu.com/\",\n \"imgUrl\": \"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.win4000.com%2Fpic%2F8%2F4a%2F17c41174012.jpg%3Fdown&refer=http%3A%2F%2Fpic1.win4000.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=de0569e0de8fce86d0df6d28892eaff8\",\n \"sort\": 1\n },\n {\n \"connectUrl\": \"https://www.baidu.com/\",\n \"imgUrl\": \"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201608%2F20%2F20160820165627_QMNnA.jpeg&refer=http%3A%2F%2Fb-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=76ba2abe298d6983068a704eaac88fcf\",\n \"sort\": 2\n },\n {\n \"connectUrl\": \"https://www.baidu.com/\",\n \"imgUrl\": \"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn19%2F752%2Fw690h862%2F20181115%2Ff6f8-hnvukff4593280.jpg&refer=http%3A%2F%2Fn.sinaimg.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636768906&t=0282bf3436ddb9bcea4a96a11a6521ce\",\n \"sort\": 3\n }\n ]\n },\n \"head\": {\n \"code\": 200,\n \"msg\": \"成功\"\n }\n}","responseHeader":{"content-length":"1338","content-type":"application/json;charset=UTF-8","date":"Thu, 14 Oct 2021 02:04:58 GMT"},"responseStatus":200,"responseParamsDesc":[{"name":"data","type":"object","remark":"数据"},{"name":"slideshowList","type":"array","remark":"轮播图列表"},{"name":"slideshowList.connectUrl","type":"string","remark":"链接地址"},{"name":"slideshowList.imgUrl","type":"string","remark":"图片路径"},{"name":"slideshowList.sort","type":"string","remark":"排序"},{"name":"head","type":"object","remark":"消息头"},{"name":"code","type":"string","remark":"返回码"},{"name":"msg","type":"string","remark":"消息文本"}],"remark":"返回码 code 说明:\n110:用户未登录\n200:正常\n400:客户端异常\n500:服务端异常"},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML