From bc95715ff2bb5a2da07b6554baf1d3d8d12ea84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E5=98=89?= <445241500@qq.com> Date: Fri, 24 May 2024 11:31:10 +0800 Subject: [PATCH] 1 --- app/common/model/Feedback.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/model/Feedback.php b/app/common/model/Feedback.php index f59d6212..97fb6800 100644 --- a/app/common/model/Feedback.php +++ b/app/common/model/Feedback.php @@ -34,10 +34,10 @@ class Feedback extends BaseModel * @param int $storeId * @return static|array|null */ - public static function detail(int $merchantId) + public static function detail(int $feedbackId) { $where = [ - 'merchant_id' => $merchantId, + 'feedback_id' => $feedbackId, //'store_id' => self::$storeId ]; return static::get($where, []);