更新:删除测试数据
parent
9601d5dc32
commit
09e07694ca
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue