根据id查询购物车记录
GET
http://localhost:8080/shopping/findByUid/{uid}
接口描述
根据用户ID获取购物车项
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:查询成功
必填
id
int
示例:2
必填
uid
int
示例:1
必填
items
string
示例:"[{"id":1,"foodId":"30010002","foodName":"蓝莓麦芬","foodImage":"blueberry-muffin.jpg","price":"10.00","table":"food","count":3},{"id":1,"beverageId":"20080002","beverageName":"橘香茉吉托","beverageImage":"citrus-mint-mojito.jpg","type":1,"price":"10.00","table":"beverage","count":2},{"id":39,"beverageId":"40010001","beverageName":"星巴克?凤舞祥云综合咖啡豆","beverageImage":"south-of-the-clouds.jpg","type":2,"p...
必填
total
string
示例:100.00
必填
status
int
示例:1
必填
createTime
string
示例:2020-11-24T13:05:22
必填
updateTime
string
示例:2020-11-24T13:05:22
必填