소스 검색

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();