From 898043fc97d2ab8b793fd317a049b874ed207c6d Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Wed, 10 Dec 2025 20:12:31 +0800
Subject: [PATCH] 商户添加分类

---
 admin/app/agent/model/product/Comment.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/admin/app/agent/model/product/Comment.php b/admin/app/agent/model/product/Comment.php
index 5435100..aab4e91 100644
--- a/admin/app/agent/model/product/Comment.php
+++ b/admin/app/agent/model/product/Comment.php
@@ -49,7 +49,7 @@
             ->field('round(avg(express_score),1) as score')->find();
         $server = $this->where(['shop_supplier_id' => $shop_supplier_id, 'status'=>1,'is_delete'=>0])
             ->field('round(avg(server_score),1) as score')->find();
-        $describe = $this->where(['shop_supplier_id '=> $shop_supplier_id,'status'=>1,'is_delete'=>0])
+        $describe = $this->where(['shop_supplier_id'=> $shop_supplier_id,'status'=>1,'is_delete'=>0])
             ->field('round(avg(describe_score),1) as score')->find();
         //更新店铺分数
         $SupplierModel->where('shop_supplier_id','=', $shop_supplier_id)

--
Gitblit v1.9.2