|
@@ -89,7 +89,7 @@ class Timedtask
|
|
|
$time = date('Y-m-d H:i:s',time()-(60*60));
|
|
|
$count = Db::name('store_order_info_cancel_log')->where('mid',$v['mid'])->where('create_at','gt',$time)->count();
|
|
|
if ($count>2){
|
|
|
- $buy_time = date('Y-m-d H:i:s',time()+(24*60*60));
|
|
|
+ $buy_time = date('Y-m-d H:i:s',time()+(4*60*60));
|
|
|
Db::name('store_member')->where('id',$v['mid'])->update(['buy_time'=>$buy_time]);
|
|
|
}
|
|
|
}
|