gq 7 anos atrás
pai
commit
24c53523b4

+ 3 - 3
server/app/Http/Controllers/Api/V1/MyController.php

@@ -1424,7 +1424,7 @@ class MyController extends Controller
                 'is_max'=>1,
                 'is_max'=>1,
 
 
             ];
             ];
-            SystemInfoModel::firstOrCreate($arr);
+            SystemInfoModel::create($arr);
         }
         }
 
 
         return $this->api($top_user);
         return $this->api($top_user);
@@ -1484,7 +1484,7 @@ class MyController extends Controller
                     'is_end'=>1,
                     'is_end'=>1,
                     'type_id'=>1,
                     'type_id'=>1,
                 ];
                 ];
-                SystemInfoModel::firstOrCreate($arr);
+                SystemInfoModel::create($arr);
             }
             }
 
 
         }else{
         }else{
@@ -1497,7 +1497,7 @@ class MyController extends Controller
             'is_end'=>1,
             'is_end'=>1,
             'type_id'=>1,
             'type_id'=>1,
         ];
         ];
-        SystemInfoModel::firstOrCreate($arr);
+        SystemInfoModel::create($arr);
         return $this->api('');
         return $this->api('');
     }
     }