[TOC]
简要描述
请求URL
http://localhost:3000/front/api/cart/getmenus
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
menuids |
是 |
string |
多个商品id用逗号隔开,例:6409840e96966a97cc8b7d78,6409841e96966a97cc8b7d7b |
请求头
参数名 |
必选 |
类型 |
说明 |
authorization |
是 |
string |
登录时获取到的token令牌 |
返回示例
{
"error_code":0,
"msg": "获取购物车商品成功!",
"docs": [
{
"_id": "6409840e96966a97cc8b7d78",
"name": "芋头饺子",
"price": 13,
"imgpath": "uploads/1678345553685.png",
"specifications": "小份15个¥16.00=====小份16个¥16.00",
"kind": "汤饺=====蒸饺",
"enable": true,
"catname": "饺子"
},
{
"_id": "6409841e96966a97cc8b7d7b",
"name": "韭菜饺子",
"price": 13,
"imgpath": "uploads/1678345595640.png",
"specifications": "小份15个¥16.00=====大份22个¥30.00",
"kind": "干饺=====汤饺",
"enable": true,
"catname": "饺子"
},
...
]
}