diff --git a/app/store/model/store/shop/Comment.php b/app/store/model/store/shop/Comment.php index a076b40e..7c4bd5bd 100644 --- a/app/store/model/store/shop/Comment.php +++ b/app/store/model/store/shop/Comment.php @@ -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()])