企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] ## 自助核销列表获取门店列表 ~~~[api] post:/auditelecoupon/getshoplist <<< success ~~~ ## 自助核销列表 ~~~[api] post:/auditelecoupon/getlist *int:page=1#页码 *int:limit=10#每页显示个数 date:begin=2018-11-11#筛选开始时间 date:end=2018-11-12#筛选结束时间 <<< success { "code": 0, "info": "成功", "data":[ { "id": 2, "mem_coupon_id": 1, "coupon_id": 1, "create_date": 1543290243, "shop_id": 2, "user_id": 1001, "member_id": 439, "member_info ":{ "nickname": "Ak凯瑞通通讯 周凯15336283858", "headimgurl": "http://thirdwx.qlogo.cn/mmopen/PiajxSqBRaEJWo1GzPa1H2R925W1NpfAaicV9O7ZYlvzKDNKWBopgxxURezW9JkGxUMkG5XBWdmBldTWd3GeXfjw/132" }, "coupon_title ": "测试电子券测试电子券测试" }, {"id": 1, "mem_coupon_id": 2, "coupon_id": 1, "create_date": 1543290243, "shop_id": 1,…} ] } ~~~ ## 会员可用电子券列表 ~~~[api] post:/user/auditelecouponlist *int:page=1#页码 *int:limit=10#每页显示个数 *int:member_id=10#会员ID <<< success { "code": 0, "info": "成功", "data":[ { "id": 452, "member_id": 439, "coupon_id": 1, "start_date": "2018-11-01", "end_date": "2019-01-01", "create_date": 1543283120, "use_date": 0, "give_date": 0, "type": 2, "use_id": 0, "give_id": 0, "receive_id": 0, "evaluation": "", "score": 0, "evaluation_time": 0, "is_read": 0, "come": 5, "user_id": 1000, "order_id": 0, "goods_id": 0, "coupon_title": "测试电子券测试电子券测试", "deduction": "10.00", "is_self": 0, "use_week": "1,2,3", "is_use_week": 1 }, {"id": 451, "member_id": 439, "coupon_id": 1, "start_date": "2018-11-01",…}, {"id": 450, "member_id": 439, "coupon_id": 1, "start_date": "2018-11-01",…} ] } ~~~ ## 核销会员电子券 ~~~[api] post:/user/auditelecoupon *int:mem_coupon_id=1#会员电子券ID <<< success { "code": 0, "info": "成功", "data":{ "mem_coupon_id": "1", "user_id": 0, "create_date": 1543296083, "coupon_id": 1, "member_id": 439, "id": "3" } } ~~~ ## 会员电子券详情----员工核销查看详情 ~~~[api] post:/user/couponinfo *int:id=1#会员电子券ID <<< success ~~~ ## 会员电子券详情----员工查看详情时 ~~~[api] post:/member/couponinfo *int:id=1#会员电子券ID <<< success ~~~ ## 会员电子券列表 ~~~[api] post:/member/couponlist *int:member_id=1 #会员ID *int:state=0 #状态,0-未使用,1已使用,2已过期 *int:page=1#页码 *int:limit=10#每页显示个数 <<< success { "code": 0, "info": "成功", "data":[ { "id": 3, "member_id": 439, "coupon_id": 1, "start_date": "2018-11-01", "end_date": "2019-01-01", "create_date": 1543026701, "use_date": 1111, "give_date": 0, "type": 2, "use_id": 0, "receive_id": 0, "evaluation": "", "score": 0, "evaluation_time": 0, "is_read": 0, "coupon_title": "测试电子券测试电子券测试", "deduction": "10.00", "is_self": 0 }, {"id": 2, "member_id": 439, "coupon_id": 1, "start_date": "2018-11-02",…} ] } <<< error ~~~