diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index 3fb0b07..8a6c90f 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -17,7 +17,7 @@ use think\facade\Log; class Coupon extends Base { protected $noNeedLogin = [ - 'getMyCouponList' + ]; /** @@ -40,7 +40,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) {