正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -264,7 +264,7 @@ class Index extends Api | @@ -264,7 +264,7 @@ class Index extends Api | ||
264 | public function timeout_cancellation(){ | 264 | public function timeout_cancellation(){ |
265 | //计算超时时间 | 265 | //计算超时时间 |
266 | $newtime=time()-43200; | 266 | $newtime=time()-43200; |
267 | - $order=Db::name("order")->where("driver_id",null)->where("create_time",">",$newtime)->select(); | 267 | + $order=Db::name("order")->where("is_pay",">",3)->where("driver_id",null)->where("create_time",">",$newtime)->select(); |
268 | foreach ($order as $k=>$v){ | 268 | foreach ($order as $k=>$v){ |
269 | $res=$this->refund($v['id']); | 269 | $res=$this->refund($v['id']); |
270 | } | 270 | } |
-
请 注册 或 登录 后发表评论