|
|
|
@ -40,7 +40,7 @@ class Comment extends CommenModel |
|
|
|
|
// 检索查询条件 |
|
|
|
|
$filter = $this->getFilter($param); |
|
|
|
|
// 查询列表数据 |
|
|
|
|
return $this->with(['image']) |
|
|
|
|
return $this->with(['file']) |
|
|
|
|
->where($filter) |
|
|
|
|
->where('is_delete', '=', 0) |
|
|
|
|
->order(['create_time' => 'desc', $this->getPk()]) |
|
|
|
@ -58,7 +58,7 @@ class Comment extends CommenModel |
|
|
|
|
// 检索查询条件 |
|
|
|
|
$filter = $this->getFilter($param); |
|
|
|
|
// 查询列表数据 |
|
|
|
|
return $this->with(['image']) |
|
|
|
|
return $this->with(['file']) |
|
|
|
|
->where($filter) |
|
|
|
|
->where('is_delete', '=', 0) |
|
|
|
|
->order(['create_time' => 'desc', $this->getPk()]) |
|
|
|
|