获取景区套餐列表
测试地址:
{url}/dev-api/customer/meal/mealList
生产地址:
{url}/api/customer/meal/mealList
具体请求
header:
请求参数 | 值 | 说明 |
---|---|---|
Authorization | access_token | 这里传登录获取的access_token |
body:
请求参数说明
响应参数
成功响应示例
{
"msg": "操作成功",
"code": 200,
"data": [
{
"searchValue": null,
"createBy": "",
"createTime": "2022-04-16 16:35:37",
"updateBy": "",
"updateTime": "2022-04-22 10:31:35",
"remark": null,
"params": {},
"id": 39,
"name": "单人卡",
"img": "http://81.69.0.194:9000/shuichengtongtest/2022/04/22/f58eff8a-7ed5-43aa-b876-60ae0f8fc67d.png",
"originalPrice": "299",
"currentPrice": "199",
"status": 1,
"remaining": 0,
"effectiveTime": "365",
"isDeleted": null,
"sort": 4
},
{
"searchValue": null,
"createBy": "",
"createTime": "2022-04-16 16:35:56",
"updateBy": "",
"updateTime": "2022-04-18 13:54:11",
"remark": null,
"params": {},
"id": 40,
"name": "家庭卡",
"img": "http://81.69.0.194:9000/shuichengtongtest/2022/04/22/f58eff8a-7ed5-43aa-b876-60ae0f8fc67d.png",
"originalPrice": "899",
"currentPrice": "499",
"status": 1,
"remaining": 0,
"effectiveTime": "365",
"isDeleted": null,
"sort": 2
},
{
"searchValue": null,
"createBy": "",
"createTime": "2022-04-18 10:12:28",
"updateBy": "",
"updateTime": "2022-04-18 13:54:00",
"remark": null,
"params": {},
"id": 41,
"name": "团体卡",
"img": "http://81.69.0.194:9000/shuichengtongtest/2022/04/22/f58eff8a-7ed5-43aa-b876-60ae0f8fc67d.png",
"originalPrice": "1499",
"currentPrice": "1099",
"status": 1,
"remaining": 0,
"effectiveTime": "365",
"isDeleted": null,
"sort": 0
}
]
}
失败响应示例
响应参数说明
参数名 | 说明 | 备注 |
---|---|---|
code | 返回码 | 为200表示成功,非200表示调用失败,其他错误码请见返回码说明 |
msg | 返回码的文本描述内容 | |
data | 返回数据 | |
id | 唯一ID | |
name | 卡名称 | |
originalPrice | 原价 | |
currentPrice | 现价 | |
effectiveTime | 有限时间(天) | |
img | 一卡通图片 | |
remaining | 景区剩余入园次数 |
注意事项:
暂无