💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**简要描述:** - 获取菜单 **请求URL:** - ` api/menu/lists` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |client|必填 |int |客户端类型:1-小程序;2-H5;3-APP| |type |选填 |int|菜单类型:1-首页导航;2-个人中心| **返回示例** ``` { "code": 1, "msg": "获取成功", "data": [ { "name": "限时秒杀", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/065b45287e84ee89971cba96962404bf.png", "link": "/pages/goods_seckill/goods_seckill", "is_tab": 0, "link_type": 1 }, { "name": "拼团活动", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/55aaaa43fa65b9750a89844b3c1fc80b.png", "link": "/pages/goods_combination/goods_combination", "is_tab": 0, "link_type": 1 }, { "name": "热销榜单", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/3726a2c0753b3849ba19e9a01dcd0e5a.png", "link": "/pages/hot_list/hot_list", "is_tab": 0, "link_type": 1 }, { "name": "领券中心", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/e60ab3b77e4501cd090467a4d6e1bd21.png", "link": "/pages/user_getcoupon/user_getcoupon", "is_tab": 0, "link_type": 1 }, { "name": "积分签到", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/720507e9ac07d5a5480f31761ed370ff.png", "link": "/pages/goods_seckill/goods_seckill", "is_tab": 0, "link_type": 1 }, { "name": "会员中心", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/6301efd64597e40add0b4b9971e8bb48.png", "link": "/pages/goods_seckill/goods_seckill", "is_tab": 0, "link_type": 1 }, { "name": "我的收藏", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/a434700fc930b800fa11a9d94bc49113.png", "link": "/pages/user_collection/user_collection", "is_tab": 0, "link_type": 1 }, { "name": "商城资讯", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/0d378893d11e37cf77099b1cc21730df.png", "link": "/pages/news_list/news_list", "is_tab": 0, "link_type": 1 }, { "name": "帮助中心", "image": "http://likeshop.yixiangonline.com/uploads/images/background/20201201/7e6c5e116c286682723095e55bc55c7e.png", "link": "/pages/news_list/news_list?type = 1", "is_tab": 0, "link_type": 1 } ], "show": 0, "time": "0.353442" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |name|string|菜单名称| |image|string|菜单图标| |link|string|路径| |link_type|int|链接类型:1-商场模块;2-自定义链接;3-按钮| **备注** -