Browse Source

fix: 评论

super-yimizi 1 month ago
parent
commit
82b42462ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Goods.php

+ 1 - 1
application/api/controller/Goods.php

@@ -83,7 +83,7 @@ class Goods extends Base
         //属性
         $row->attributes = AttributeValue::getAttributeList($row->attribute_ids);
         //好评度
-        $row->favor_rate = Comment::degree($id);
+        // $row->favor_rate = Comment::degree($id);
 
         //评论
         $comment = collection($row->comment)->toArray();