|
@@ -8,6 +8,11 @@ class Cron
|
|
|
{
|
|
{
|
|
|
# 清理一小时前的待支付数据
|
|
# 清理一小时前的待支付数据
|
|
|
public function drop_order_api()
|
|
public function drop_order_api()
|
|
|
|
|
+ {
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public function drop_order()
|
|
|
{
|
|
{
|
|
|
$where['where_time'] = time() - 3600;
|
|
$where['where_time'] = time() - 3600;
|
|
|
Dever::db('act/order')->drop($where);
|
|
Dever::db('act/order')->drop($where);
|