setter
parent
19655f9464
commit
c5bfed1e71
|
@ -80,7 +80,7 @@ class Coupon extends Base
|
|||
case 'normal':
|
||||
// 未使用且未过期
|
||||
$whereMap[] = ['is_verificated', '=', self::BOOL_FALSE];
|
||||
$whereMap[] = ['end_time', '< TIME', date('Y-m-d H:i:s')];
|
||||
$whereMap[] = ['end_time', '> TIME', date('Y-m-d H:i:s')];
|
||||
break;
|
||||
case 'used':
|
||||
// 已使用
|
||||
|
|
Loading…
Reference in New Issue