Parcourir la source

返回字段更改

duqinya il y a 5 ans
Parent
commit
b8037c35d1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Repositories/BeanRepository.php

+ 1 - 1
app/Repositories/BeanRepository.php

@@ -66,7 +66,7 @@ class BeanRepository
             ->groupBy('related_content_id', 'content_author_id')->orderBy('count', 'desc')->limit(1)->get();
         $collent = $collent->toArray();
         foreach ($collent as $k=>$v){
-            $collent[$k]['type'] = 'collent';
+            $collent[$k]['type'] = 'collect';
         }
 
         //文章被喜欢最多用户