From 09e07694ca9ea8cd78fc72f3252cf7db9e7e78f9 Mon Sep 17 00:00:00 2001 From: zwesy Date: Mon, 6 Dec 2021 10:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=9A=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Coupon.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index bd2d04c..4d7983e 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -12,7 +12,7 @@ use app\repository\CouponRepository; class Coupon extends Base { protected $noNeedLogin = [ - 'getMyCouponList' + ]; /** @@ -35,7 +35,6 @@ class Coupon extends Base $whereMap = []; $sortOrder = ['received_time' => 'desc']; $fields = ['*', '(end_time > NOW()) as sort_weight']; - // TODO `status`字段需要核实是否用于筛选条件 $whereMap[] = ['consumer_code', '=', $accountCode]; switch ($type) {