songxingwei 2 年之前
父節點
當前提交
ec553a61eb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Timedtask.php

+ 1 - 1
application/api/controller/Timedtask.php

@@ -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]);
                 }
             }