소스 검색

社媒对接

moshaorui 4 일 전
부모
커밋
5e7730aeb3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Distributor/Repositories/SmmPostLog.php

+ 1 - 1
app/Distributor/Repositories/SmmPostLog.php

@@ -103,7 +103,7 @@ class SmmPostLog extends EloquentRepository
 
             $rows = $log->where('media_name', 'YouTube')
                 ->where('created_at', '>=', $startOfDay->format('Y-m-d H:i:s'))
-                ->count();
+                ->get();
 
             $count = 0;
             foreach ($rows as $row) {