From 06be1c7ccc7533612e4cc7b0e730080d0dd3d2a1 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 16 Jan 2026 11:43:36 +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