From 097a5f9e524acd965fa2abcfd18db30fc3f00ddb Mon Sep 17 00:00:00 2001
From: huangsijun <1773182001@qq.com>
Date: Thu, 11 Dec 2025 16:25:55 +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