|
@@ -19,6 +19,7 @@ class Plantask extends Controller
|
|
|
$end_time = time() - (3600 * 2);
|
|
|
$sql = "update `mt_user` set is_active = 0 where is_active = 1 and id in (select user_id from mt_user_active where requesttime between {$start_time} and {$end_time})";
|
|
|
db()->query($sql);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
////////////////////////////////////////////////////////
|
|
@@ -326,12 +327,5 @@ class Plantask extends Controller
|
|
|
}
|
|
|
////////////////////////////////////////////////////////
|
|
|
|
|
|
- private function error($msg){
|
|
|
- echo $msg;exit;
|
|
|
- }
|
|
|
-
|
|
|
- private function success($msg){
|
|
|
- echo $msg;exit;
|
|
|
- }
|
|
|
|
|
|
}
|