From e43d51401b22f516b12f8509f1af3d9a17002a38 Mon Sep 17 00:00:00 2001 From: heshupeng <hsp@bronet.cn> Date: Tue, 15 Dec 2020 10:23:44 +0800 Subject: [PATCH] api更新 --- application/api/controller/Coupons.php | 5 ++++- public/api.html | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/application/api/controller/Coupons.php b/application/api/controller/Coupons.php index 060ac46..5d56b23 100644 --- a/application/api/controller/Coupons.php +++ b/application/api/controller/Coupons.php @@ -45,7 +45,10 @@ class Coupons extends Base "usetimestart": 1608220800, "usetimeend": 1611936000, "gettimestart": 1607875200, - "gettimeend": 1610640000 + "gettimeend": 1610640000, + "user_coupons_id": 1, //领取ID + "status_code": 1610640000, //状态码:no_use=未使用,used=已使用,expired=已过期 + "status_name": "未使用" //状态名称 }] }) */ diff --git a/public/api.html b/public/api.html index 2fbc1c4..6dbaa6f 100755 --- a/public/api.html +++ b/public/api.html @@ -5846,7 +5846,10 @@ "usetimestart": 1608220800, "usetimeend": 1611936000, "gettimestart": 1607875200, - "gettimeend": 1610640000 + "gettimeend": 1610640000, + "user_coupons_id": 1, //领取ID + "status_code": 1610640000, //状态码:no_use=未使用,used=已使用,expired=已过期 + "status_name": "未使用" //状态名称 }] }</pre> </div> @@ -11019,7 +11022,7 @@ <div class="row mt0 footer"> <div class="col-md-6" align="left"> - Generated on 2020-12-15 09:45:24 </div> + Generated on 2020-12-15 10:23:27 </div> <div class="col-md-6" align="right"> <a href="./" target="_blank">My Website</a> </div> -- libgit2 0.24.0