&action=pay

master
tpingzhang 5 years ago
parent 7ffe0c14a6
commit 0fc555d17b

@ -66,8 +66,8 @@ class UserHController extends BaseController
public function platform_pay()
{
$u = M('user', 'tab_')->where(['id' => $this->userId])->find();
$post = I('post.');
if(empty($post['money'])) {
$money = I('money', 0);
if(!$money) {
$this->error('金额不能为空');
}
// if(!is_int($post['money'])) {

@ -14,7 +14,7 @@
<p>平台币充值</p>
<div></div>
</div> -->
<form action="{:U('platform_pay')}&action=pay" method="post">
<form action="{:U('platform_pay')}&action=pay" method="get">
<input type="hidden" name="user_token" value="{$user_token}">
<div class="ptbboxpad pay-form-info">
<div class="ptbbox">

Loading…
Cancel
Save