🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 我的优惠券 /** * 个人中心优惠券 * @http_method get * @param [int] $state,不传为全部 代金券状态(1-未用,2-已用,3-过期)[非必填] * @author 韩文博 */ +++ get:/voucher/userVoucherList <<< success { "errcode": 0, "errmsg": "操作成功", "list": [ { "id": "1", "code": "440527007894000000", "template_id": "2", "title": "一张代金券1", "desc": "代金券描述", "start_date": "1473532238", "end_date": "1474300800", "price": "100", "limit": "1111.00", "state": "1", "create_time": "1473663894", "type": "0", "owner_id": "102", "owner_name": "韩文博", "order_id": null, } ] } <<< error 这里填写错误的返回码 以此类推,每个状态使用 <<< 分割, 第一行添加状态名称 +++