M5: Workerman 常驻服务 + AI 审核/润色插件 + 支付插件(支付宝/微信/沙箱)+ 会员插件(套餐/订阅/付费文章)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
@php $pageTitle = '支付结果 - '.$siteName; @endphp
|
||||
@include('partials.head')
|
||||
<body>
|
||||
@include('partials.header')
|
||||
<div class="container auth-layout">
|
||||
<main class="auth-box">
|
||||
<h1 class="list-title">支付结果</h1>
|
||||
@if($payment->status === 'paid')
|
||||
<div class="alert alert-success">支付成功!订单号:{{ $payment->order_no }}</div>
|
||||
@elseif($payment->status === 'pending')
|
||||
<div class="alert alert-error">支付未完成,订单号:{{ $payment->order_no }}</div>
|
||||
@else
|
||||
<div class="alert alert-error">订单状态:{{ $payment->status }}</div>
|
||||
@endif
|
||||
<p><strong>商品:</strong>{{ $payment->subject }}</p>
|
||||
<p><strong>金额:</strong>¥{{ number_format($payment->amount / 100, 2) }}</p>
|
||||
<p class="auth-alt"><a href="{{ route('home') }}">返回首页</a></p>
|
||||
</main>
|
||||
</div>
|
||||
@include('partials.footer')
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,24 @@
|
||||
@php $pageTitle = '模拟支付 - '.$siteName; @endphp
|
||||
@include('partials.head')
|
||||
<body>
|
||||
@include('partials.header')
|
||||
<div class="container auth-layout">
|
||||
<main class="auth-box">
|
||||
<h1 class="list-title">模拟支付(沙箱)</h1>
|
||||
<div class="profile-box" style="border:none;padding:0;">
|
||||
<p><strong>订单号:</strong>{{ $payment->order_no }}</p>
|
||||
<p><strong>商品:</strong>{{ $payment->subject }}</p>
|
||||
<p><strong>金额:</strong>¥{{ number_format($payment->amount / 100, 2) }}</p>
|
||||
<p><strong>渠道:</strong>{{ $payment->channel }}</p>
|
||||
<p class="text-muted" style="color:#999;font-size:13px;">沙箱模式:点击下方按钮模拟支付成功</p>
|
||||
</div>
|
||||
<form action="{{ route('pay.sandbox.confirm', $payment->order_no) }}" method="post">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-primary">确认支付(模拟)</button>
|
||||
</form>
|
||||
<p class="auth-alt"><a href="{{ route('home') }}">取消,返回首页</a></p>
|
||||
</main>
|
||||
</div>
|
||||
@include('partials.footer')
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user