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, []);