no message
This commit is contained in:
parent
06dcfdb0be
commit
a3408013c8
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
config/.config.php
|
config/.config.php
|
||||||
storage/framework/smarty/compile/
|
storage/framework/smarty/compile/
|
||||||
|
README.md
|
||||||
|
|||||||
@ -1,18 +1,6 @@
|
|||||||
<div class="card-inner">
|
<div class="card-inner">
|
||||||
<p class="card-heading"></p>
|
<p class="card-heading"></p>
|
||||||
<form class="epay" name="epay" method="post">
|
<form class="epay" name="epay" method="post">
|
||||||
{if $public_setting['epay_alipay']}
|
|
||||||
<button class="btn btn-flat waves-attach"
|
|
||||||
hx-post="/user/payment/purchase/epay" hx-swap="none"
|
|
||||||
hx-vals='js:{
|
|
||||||
price: {$invoice->price},
|
|
||||||
invoice_id: {$invoice->id},
|
|
||||||
type: "alipay",
|
|
||||||
redir: window.location.href
|
|
||||||
}'>
|
|
||||||
<img src="/images/alipay.png" height="50px"/>
|
|
||||||
</button>
|
|
||||||
{/if}
|
|
||||||
{if $public_setting['epay_wechat']}
|
{if $public_setting['epay_wechat']}
|
||||||
<button class="btn btn-flat waves-attach"
|
<button class="btn btn-flat waves-attach"
|
||||||
hx-post="/user/payment/purchase/epay" hx-swap="none"
|
hx-post="/user/payment/purchase/epay" hx-swap="none"
|
||||||
@ -22,7 +10,19 @@
|
|||||||
type: "wxpay",
|
type: "wxpay",
|
||||||
redir: window.location.href
|
redir: window.location.href
|
||||||
}'>
|
}'>
|
||||||
<img src="/images/wechat.png" height="50px" style="max-width:55%;"/>
|
<img src="/images/wechat.png" height="50px" style="max-width:60%;"/>
|
||||||
|
</button>
|
||||||
|
{/if}
|
||||||
|
{if $public_setting['epay_alipay']}
|
||||||
|
<button class="btn btn-flat waves-attach"
|
||||||
|
hx-post="/user/payment/purchase/epay" hx-swap="none"
|
||||||
|
hx-vals='js:{
|
||||||
|
price: {$invoice->price},
|
||||||
|
invoice_id: {$invoice->id},
|
||||||
|
type: "alipay",
|
||||||
|
redir: window.location.href
|
||||||
|
}'>
|
||||||
|
<img src="/images/alipay.png" height="50px" style="max-width:60%;"/>
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
{if $public_setting['epay_qq']}
|
{if $public_setting['epay_qq']}
|
||||||
|
|||||||
@ -137,7 +137,7 @@ final class Epay extends Base
|
|||||||
// } else {
|
// } else {
|
||||||
|
|
||||||
$aMsg = [
|
$aMsg = [
|
||||||
'标题' => '有用户微信支付失败',
|
'标题' => '有用户支付失败',
|
||||||
'报错' => $e->getMessage(),
|
'报错' => $e->getMessage(),
|
||||||
'发送值' => $data,
|
'发送值' => $data,
|
||||||
'返回值' => $resData
|
'返回值' => $resData
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user