柳建 vor 9 Monaten
Ursprung
Commit
e23499ec52
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      application/api/controller/Index.php

+ 2 - 2
application/api/controller/Index.php

@@ -37,7 +37,7 @@ class Index extends Api
             $temp[$val['id']]=$val['income'];
             $userids[]=$val['id'];
             }
-            $admindata=db('fa_admin')->where(['id'=>['in',$userids]])->select();
+            $admindata=db('admin')->where(['id'=>['in',$userids]])->select();
             $upincome=[];
             foreach ($admindata as $k=>$vl){
                 if(isset($temp[$vl['id']])){
@@ -60,7 +60,7 @@ class Index extends Api
         $nowtime = time();
         $spacetime = 10 * 60;
         $returndata='';
-        $userdata = db('fa_admin')->field("id")
+        $userdata = db('admin')->field("id")
         ->where(['livetime', 'gt', $nowtime - $spacetime])
         ->where(['incomeendtime', 'gt', $nowtime])
         ->select();