master
yin5th 2022-01-27 11:20:01 +08:00
parent 19655f9464
commit c5bfed1e71
1 changed files with 1 additions and 1 deletions

View File

@ -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':
// 已使用