瀏覽代碼

fix: 评论

super-yimizi 3 月之前
父節點
當前提交
82b42462ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();