|
|
|
@ -77,7 +77,7 @@ class OrderController extends Controller |
|
|
|
} |
|
|
|
|
|
|
|
//未付款订单提示剩余付款时间
|
|
|
|
if ($v['status'] == Status::UNPAID) { |
|
|
|
if ($v['timeout'] !== null && $v['status'] == Status::UNPAID) { |
|
|
|
$second = strtotime($v['timeout']) - $time; |
|
|
|
|
|
|
|
if ($second > 0) { |
|
|
|
@ -413,7 +413,7 @@ class OrderController extends Controller |
|
|
|
]; |
|
|
|
$app = Factory::miniProgram($config); |
|
|
|
|
|
|
|
$response = $app->app_code->getUnlimit($order->verify_code, ['path' => 'pages/verification/index']); |
|
|
|
$response = $app->app_code->getUnlimit($order->verify_code, ['page' => 'pages/verification/index']); |
|
|
|
|
|
|
|
if ($response instanceof \EasyWeChat\Kernel\Http\StreamResponse) { |
|
|
|
$filename = $response->saveAs(storage_path('app/public/verify_code'), $order->verify_code); |
|
|
|
|