...
|
...
|
@@ -256,4 +256,15 @@ class Index extends Api |
|
|
$rs = json_decode($json, true);
|
|
|
return $rs;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 超时取消订单
|
|
|
* @return void
|
|
|
*/
|
|
|
public function timeout_cancellation(){
|
|
|
//计算超时时间
|
|
|
$newtime=time()-43200;
|
|
|
$order=Db::name("order")->where("create_time",$newtime)->select();
|
|
|
print_r($order);
|
|
|
}
|
|
|
} |
...
|
...
|
|