企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
#### 首页轮播图 ~~~[api] get:/admin/platform/member_index/banner <<< success { "code": 1, "msg": "success", "time": "2018-02-01 17:20:32", "data": [ { "image": "/static/no-image.png", "type": "goods", "value": 1 }, { "image": "/static/no-image.png", "type": "article", "value": 1 }, { "image": "/static/no-image.png", "type": "url", "value": "http://www.qq.com" } ] } ~~~ ~~~[api] post:/admin/platform/member_index/banner *array:banner#轮播图 *string:image#图片 *string:type#类型,goods=>商品,article=>文章,url=>外部链接,path=>内部地址 *string:value#值 <<< success { "code": 1, "msg": "success", "time": "2018-02-01 17:20:32", "data": [ { "image": "/static/no-image.png", "type": "goods", "value": 1 }, { "image": "/static/no-image.png", "type": "article", "value": 1 }, { "image": "/static/no-image.png", "type": "url", "value": "http://www.qq.com" } ] } <<< example { "banner": [ { "image": "/static/no-image.png", "type": "goods", "value": 1 }, { "image": "/static/no-image.png", "type": "article", "value": 1 }, { "image": "/static/no-image.png", "type": "url", "value": "http://www.qq.com" } ] } ~~~ #### 首页导航 ~~~[api] get:/admin/platform/member_index/nav <<< success { "code": 1, "msg": "success", "time": "2018-08-17 16:18:46", "data": [ { "image": "/static/no-image.png", "type": "storesCategory", "value": 1 }, { "image": "/static/no-image.png", "type": "articleCategory", "value": 1 }, { "image": "/static/no-image.png", "type": "url", "value": "http://www.qq.com" } ] } ~~~ ~~~[api] post:/admin/platform/member_index/nav *array:nav#轮播图 *string:image#图片 *string:type#类型,storesCategory=>门店分类,articleCategory=>文章分类,url=>外部链接,path=>内部地址 *string:value#值 <<< success { "nav": [ { "image": "/static/no-image.png", "text": "前端", "type": "storesCategory", "value": 1 }, { "image": "/static/no-image.png", "text": "辣鸡", "type": "articleCategory", "value": 1 }, { "image": "/static/no-image.png", "text": "的", "type": "url", "value": "http://www.qq.com" } ] } <<< example { "nav": [ { "image": "/static/no-image.png", "text": "前端", "type": "storesCategory", "value": 1 }, { "image": "/static/no-image.png", "text": "辣鸡", "type": "articleCategory", "value": 1 }, { "image": "/static/no-image.png", "text": "的", "type": "url", "value": "http://www.qq.com" } ] } ~~~ #### 首页广告 ~~~[api] get:/admin/platform/member_index/ad <<< success { "code": 1, "msg": "success", "time": "2018-08-16 10:33:09", "data": { "ad": [ { "type": 1, "content": { "image": "http://oss.dgyouduo.com/static/img/no-image-16x10.png", "type": "url", "value": "/goods/category/index/id/1" } }, { "type": 1, "content": { "image": "http://oss.dgyouduo.com/static/img/no-image-16x10.png", "type": "url", "value": "/goods/category/index/id/1" } }, { "type": 2, "content": [ { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 }, { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 }, { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 } ] } ] } } ~~~ ~~~[api] post:/admin/platform/member_index/ad *array:ad#广告 *number:type#类型,1=>横幅,2=>3格 *array:content#内容,type=1时为对象,type=2时为数组 *string:image#图片 *string:type#类型,goods=>商品,article=>文章,url=>链接,path=>内部地址 *string:value#值 <<< success { "code": 1, "msg": "success", "time": "2018-08-16 10:58:31", "data": [ { "type": 1, "content": { "image": "http://oss.dgyouduo.com/static/img/no-image-16x10.png", "type": "url", "value": "/goods/category/index/id/1" } }, { "type": 1, "content": { "image": "http://oss.dgyouduo.com/static/img/no-image-16x10.png", "type": "url", "value": "/goods/category/index/id/1" } }, { "type": 2, "content": [ { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 }, { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 }, { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 } ] } ] } <<< example { "ad": [ { "type": 1, "content": { "image": "http://oss.dgyouduo.com/static/img/no-image-16x10.png", "type": "url", "value": "/goods/category/index/id/1" } }, { "type": 1, "content": { "image": "http://oss.dgyouduo.com/static/img/no-image-16x10.png", "type": "url", "value": "/goods/category/index/id/1" } }, { "type": 2, "content": [ { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 }, { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 }, { "image": "http://oss.dgyouduo.com/static/img/no-image.png", "type": "goods", "value": 1 } ] } ] } ~~~ #### 门店首页轮播图 ~~~[api] get:/admin/platform/member_stores/banner <<< success { "code": 1, "msg": "success", "time": "2018-08-17 16:12:21", "data": [ { "image": "http://image.suning.cn/uimg/aps/material/152673480125402454.jpg", "type": "goods", "value": 1 }, { "image": "http://image4.suning.cn/uimg/cms/img/152671545167872835.jpg", "type": "article", "value": 1 }, { "image": "http://image4.suning.cn/uimg/cms/img/152671545167872835.jpg", "type": "url", "value": "http://www.baidu.com" } ] } ~~~ ~~~[api] post:/admin/platform/member_stores/banner *array:banner#轮播图 *string:image#图片 *string:type#类型,goods=>商品,article=>文章,url=>外部链接,path=>内部地址 *string:value#值 <<< success { "code": 1, "msg": "success", "time": "2018-08-17 16:13:19", "data": [ { "image": "http://image.suning.cn/uimg/aps/material/152673480125402454.jpg", "type": "goods", "value": 1 }, { "image": "http://image4.suning.cn/uimg/cms/img/152671545167872835.jpg", "type": "article", "value": 1 }, { "image": "http://image4.suning.cn/uimg/cms/img/152671545167872835.jpg", "type": "url", "value": "http://www.baidu.com" } ] } <<< example { "banner": [ { "image": "http://image.suning.cn/uimg/aps/material/152673480125402454.jpg", "type": "goods", "value": 1 }, { "image": "http://image4.suning.cn/uimg/cms/img/152671545167872835.jpg", "type": "article", "value": 1 }, { "image": "http://image4.suning.cn/uimg/cms/img/152671545167872835.jpg", "type": "url", "value": "http://www.baidu.com" } ] } ~~~