|
@@ -82,7 +82,7 @@ class Index extends Api
|
|
|
$spacetime = 10 * 60;
|
|
|
$returndata = '';
|
|
|
$userdata = db('admin')->field("id")
|
|
|
-// ->where(['livetime' => ['gt', $nowtime - $spacetime]])
|
|
|
+ ->where(['livetime' => ['gt', $nowtime - $spacetime]])
|
|
|
->where(['incomeendtime' => ['gt', $nowtime]])
|
|
|
->select();
|
|
|
Db::startTrans();
|