设置过期账号删除
This commit is contained in:
@@ -17,7 +17,7 @@ $update_data = [
|
||||
];
|
||||
|
||||
$where_month = [
|
||||
'EndTime' => ['<',date("Y-m-d H:i:s", strtotime("-2 month"))]
|
||||
'EndTime' => ['<',date("Y-m-d H:i:s", strtotime("-1 week"))]
|
||||
];
|
||||
|
||||
$account_model->updateOne($where,$update_data);
|
||||
|
||||
Reference in New Issue
Block a user