多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## :-: **获取门票、消费卡、活动详情** ~~~[api] get:/index/Index/info *varchar:token=100069&950b09e3299fe283065b2d1255516e53#登录密钥 *tinyint:status=1#1=门票详情;2=消费卡详情;3=活动详情 *int:info_id=1#详情的主键id <<< tickets { "code": 1, "msg": "获取成功", "data": { "id": 1, "name": "测试票", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" }, "info": "拿来测试的", "use_rules": "", "price": "0.00", "sales": 0, "label": [ { "id": 1, "name": "线下游戏" }, { "id": 2, "name": "游戏时长7分钟" } ], "store": [ { "id": 1, "store": [ { "id": 1, "name": "嘻嘻卡丁车", "address": "韶关东站", "telephone": "15770808503", "longitude": "24.800345", "latitude": "113.611492" } ] }, { "id": 2, "store": [ { "id": 2, "name": "Jobss卡丁车", "address": "韶关站", "telephone": "15770808503", "longitude": "24.756492", "latitude": "113.52178" } ] } ] } } <<< cards { "code": 1, "msg": "获取成功", "data": { "id": 1, "name": "肥宅专属消费卡[快乐源泉]", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" }, "info": "肥宅专属消费卡", "use_rules": "肥宅专属消费卡", "sales": 9, "standard": [ { "id": 1, "name": "消费卡", "info": "月卡可免费游玩卡丁车1次", "number": 1, "price": "100.00" }, { "id": 2, "name": " 消费月卡", "info": "月卡可免费游玩卡丁车5次", "number": 5, "price": "0.00" } ], "store": [ { "id": 1, "cards_id": 1, "store": [ { "id": 1, "name": "嘻嘻卡丁车", "address": "韶关东站", "telephone": "15770808503", "longitude": "24.800345", "latitude": "113.611492" } ] } ] } } <<< activity { "code": 1, "msg": "获取成功", "data": { "id": 1, "name": "相亲活动", "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" }, "site": "韶关市浈江区韶关碧桂园凤凰酒店", "longitude": "24.841496", "latitude": "113.615244", "price": "1.00", "places": 13, "use_info": "单身狗福利", "use_rules": "单生狗福利", "sales": 999, "activity": [ { "id": 1, "name": "标签表1" } ], "store": [ { "id": 3, "activity_id": 1, "store": [ { "id": 1, "name": "嘻嘻卡丁车", "address": "韶关东站", "telephone": "15770808503", "longitude": "24.800345", "latitude": "113.611492" } ] } ] } } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | name | 名字 | | picture | 配图 | | info | 详情 | | use_info | 使用详情 | | use_rules | 使用规则 | | price | 单价 | | places | 库存名额 | | sales | 销售量 | | label | 门票标签 | |standard| 消费卡规格信息 | |activity| 活动标签信息 | |store| 可用门店信息 |