Browse Source

社媒对接

moshaorui 1 day ago
parent
commit
5e7730aeb3
1 changed files with 1 additions and 1 deletions
  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) {