diff --git a/application/cron/controller/PerformPerSecond.php b/application/cron/controller/PerformPerSecond.php index 39c0e6c..bf49858 100644 --- a/application/cron/controller/PerformPerSecond.php +++ b/application/cron/controller/PerformPerSecond.php @@ -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]);