签约到期
This commit is contained in:
@@ -352,7 +352,7 @@ class PerformPerSecond
|
||||
}
|
||||
}
|
||||
//签约到期
|
||||
$res = Db::name('vs_user_sign')->where(['end_time' => ['>',time()],'status' => 1])->select();
|
||||
$res = Db::name('vs_user_sign')->where(['end_time' => ['<',time()],'status' => 1])->select();
|
||||
if($res){
|
||||
foreach ($res as $value){
|
||||
db::name('vs_user_sign')->where('id',$value['id'])->update(['status' => 2]);
|
||||
|
||||
Reference in New Issue
Block a user