mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
后台优惠券列表分页展示错误
This commit is contained in:
parent
97e427dfe2
commit
34df5fb11d
@ -23,6 +23,7 @@ use app\services\user\UserServices;
|
||||
use crmeb\exceptions\AdminException;
|
||||
use crmeb\exceptions\ApiException;
|
||||
use crmeb\services\FormBuilder;
|
||||
use think\facade\Db;
|
||||
|
||||
/**
|
||||
*
|
||||
@ -64,6 +65,7 @@ class StoreCouponIssueServices extends BaseServices
|
||||
foreach ($list as &$item) {
|
||||
$item['use_time'] = date('Y-m-d', $item['start_use_time']) . ' ~ ' . date('Y-m-d', $item['end_use_time']);
|
||||
}
|
||||
unset($where['type'], $where['receive_type']);
|
||||
$count = $this->dao->count($where);
|
||||
return compact('list', 'count');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user