🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## :-: **我的门票、活动、消费卡详情** ~~~[api] get:index/User/myComprehensive *varchar:token=100069&950b09e3299fe283065b2d1255516e53#登录密钥 *int:id=1#门票id或者是消费卡id *tinyint:type=1#1=门票详情;2=活动详情;3=消费卡详情 <<< tickets { "code": 1, "msg": "获取成功", "data": { "id": 1, "tickets_id": 1, "order_id": 1, "status": -1, "amount": 1, "begin_time": "2019-11-09 00:00:00", "over_time": "2019-11-11 00:00:00", "tickets": { "id": 1, "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" }, "name": "测试票" }, "order": { "id": 1, "price": "100.00", "order_number": 123456789, "code": 2548 } }, "QrCode": "http://karting.xtow.net/index/user/qrcode.html?id=1&order_number=123456789&code=2548" } <<< activity { "code": 1, "msg": "获取成功", "data": { "id": 1, "activity_id": 1, "status": 1, "order_id": 3, "amount": 1, "begin_time": "2019-10-11 14:14:59", "over_time": "2019-11-13 00:00:00", "activity": { "id": 1, "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" }, "name": "相亲活动" }, "order": { "id": 3, "price": "9.00", "order_number": 578946213, "code": 1314 } }, "QrCode": "http://karting.xtow.net/index/user/qrcode.html?id=1&order_number=578946213&code=1314" } <<< cards { "code": 1, "msg": "获取成功", "data": { "id": 1, "cards_id": 1, "order_id": 2, "status": 1, "number": 5, "remaining_number": 5, "begin_time": "2019-11-08 00:00:00", "over_time": "2019-11-10 00:00:00", "cards": { "id": 1, "picture": { "id": 1, "path": "uploads/images/20190924/272dc1943fb0f12d5e9cb9839304b5f5.jpg" }, "name": "肥宅专属消费卡[快乐源泉]" }, "order": { "id": 2, "standard_id": 1, "price": "88.00", "order_number": 56789424, "code": 7865, "standard": [ { "id": 1, "name": "消费卡" } ] } }, "QrCode": "http://karting.xtow.net/index/user/qrcode.html?id=1&order_number=56789424&code=7865" } ~~~ ### tickets、activity返回字段说明 | 字段 | 说明 | | --- | --- | | tickets_id | 门票id | | order_id | 订单id| | status | 状态 | | tickets | 门票信息 | | activity | 活动信息 | | order | 订单信息 | | price | 总价 | | order_number | 订单号 | |code | 验证码 | ### cards返回字段说明 | 字段 | 说明 | | --- | --- | | cards_id | 门票id | | order_id | 订单id| | status | 消费卡状态 | | number | 规格次数 | | remaining _number | 剩余次数 | | begin_time | 起始时间 | | over_time | 结束时间 | | cards | 消费卡信息 | | order | 订单信息 | | standard | 消费卡的规格 | | order_number | 订单号 | |code | 验证码 | |QrCode | 二维码地址 |