|
|
|
@ -80,7 +80,7 @@ class OrderController extends Controller |
|
|
|
if ($v['timeout'] !== null) { |
|
|
|
$second = strtotime($v['timeout']) - $time; |
|
|
|
|
|
|
|
if ($second > 0 && $v['status'] == Status::UNPAID) { |
|
|
|
if ($second > 0) { |
|
|
|
$v['status_text'] = '请在' . ceil($second / 60) . '分钟内付款'; |
|
|
|
} else if ($second < 0 && $v['status'] == Status::PAY_EARNEST) { |
|
|
|
$v['status_text'] = '尾款支付已超时'; |
|
|
|
|