1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- namespace app\index\controller;
- use think\Controller;
- use think\Db;
- use think\Cache;
- class Plantask extends Controller
- {
-
- public function auto_cancel_nopay_order(){
- }
-
- public function aoto_cancel_noaccept_order(){
- }
-
- public function auto_user_active(){
- $actitime = time() - 7200;
- $sql = 'update `mt_user` set is_active = 0 where is_active = 1 and id in (select user_id from mt_user_active where requesttime < '.$actitime.')';
- db()->query($sql);
- }
-
-
- public function auto_vipend(){
-
- }
- }
|