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) {