|
|
@@ -426,6 +426,7 @@ class Lave extends Api
|
|
|
{
|
|
|
// 改成搜索三天内的未支付订单
|
|
|
$threeDaysAgo = strtotime('-3 days');
|
|
|
+ @file_put_contents("quanju2.txt", $threeDaysAgo . "-三天前时间戳\r\n", 8);
|
|
|
$list = LaveMonth::where('paid',0)->where('cid', '>',1)->where('createtime','>', $threeDaysAgo)->select();
|
|
|
foreach ($list as $k => $v) {
|
|
|
WechatService::querySignOrder($v['order_id'],$v['cid']);
|