|
|
@ -60,7 +60,7 @@ class Feedback extends BaseModel |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getList(array $param = [], int $pageSize = 15): \think\Paginator |
|
|
|
public function getList(array $param = [], int $pageSize = 15): \think\Paginator |
|
|
|
{ |
|
|
|
{ |
|
|
|
$res = $this->with(['store.store_name'])->where($this->getFilter($param)) |
|
|
|
$res = $this->with(['store'])->where($this->getFilter($param)) |
|
|
|
->where('is_delete', '=', 0) |
|
|
|
->where('is_delete', '=', 0) |
|
|
|
->order(['create_time' => 'desc', $this->getPk()]) |
|
|
|
->order(['create_time' => 'desc', $this->getPk()]) |
|
|
|
->paginate($pageSize); |
|
|
|
->paginate($pageSize); |
|
|
|