super-yimizi před 3 měsíci
rodič
revize
82b42462ec
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();