Browse Source

修改文件

柳建 9 months ago
parent
commit
e23499ec52
1 changed files with 2 additions and 2 deletions
  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();