wangxinglong 2021-12-06 18:56:49 +08:00
commit 8a3deee5f0
1 changed files with 1 additions and 2 deletions

View File

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