From e6172eec0f14850807feabc668bdffaa6f0ff45c Mon Sep 17 00:00:00 2001 From: ztt <835303992@qq.com> Date: Wed, 28 Feb 2024 16:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E5=BA=97=E8=AF=84=E8=AE=BA=E5=A2=9E?= =?UTF-8?q?=E5=88=A0=E6=94=B9=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/store/model/store/shop/Comment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()])