moshaorui před 2 dny
rodič
revize
a84e729c3f
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      app/Distributor/Repositories/SmmPostLog.php

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

@@ -89,7 +89,7 @@ class SmmPostLog extends EloquentRepository
                 ->get();
             $count = 0;
             foreach ($rows as $row) {
-                if ($row->status == 0) {
+                if ($row->status == 0 || $row->status == 1) {
                     $count++;
                 } else {
                     $count = $count + $row->request_count;
@@ -107,7 +107,7 @@ class SmmPostLog extends EloquentRepository
 
             $count = 0;
             foreach ($rows as $row) {
-                if ($row->status == 0) {
+                if ($row->status == 0 || $row->status == 1) {
                     $count++;
                 } else {
                     $count = $count + $row->request_count;