diff --git a/Application/Sdk/Controller/ShortcutController.class.php b/Application/Sdk/Controller/ShortcutController.class.php index d25b6d60..2ecbc3f5 100644 --- a/Application/Sdk/Controller/ShortcutController.class.php +++ b/Application/Sdk/Controller/ShortcutController.class.php @@ -753,7 +753,8 @@ class ShortcutController extends BaseController{ } } - + $this->assign("type", $is_platform ? "platform" : ""); + $this->assign("code", $request['code']); $this->assign("pay_amount", $request['actual_amount']?$request['actual_amount']:$request['price']); $this->assign("user_id", $request['user_id']); $this->assign("game_id", $request['game_id']); @@ -762,7 +763,6 @@ class ShortcutController extends BaseController{ $this->assign("order_id", $request['pay_order_number']); $this->assign('goods_info',$request['goods_info']); - $this->display('yee_step1'); } @@ -839,14 +839,13 @@ class ShortcutController extends BaseController{ if ($is_platform) { $request['code'] = 0; $request['user_id'] = $user_id; - $request['price'] = intval(I('request.price')); $request['game_id'] = $game_id; $request['pay_way'] = C("PAY_WAY.SQ_SHORTCUT"); // 支付方式(-1绑币 0:平台币,1:支付宝,2:微信(扫码)3微信app 4 威富通 5聚宝云 6竣付通 7苹果支付8金猪支付 9双乾支付-支付宝 10双乾支付-银联 15双乾支付-快捷 $request['pay_status'] = 0; $request['spend_ip'] = get_client_ip(); - $payInfo['info'] = json_decode($payInfo['info'],true); - $request['goods_info'] = $payInfo['info']['game_name'].$payInfo['info']['body']; +// $payInfo['info'] = json_decode($payInfo['info'],true); + $request['goods_info'] = "平台币充值"; $payInfo = M('pay_info', 'tab_')->where([ 'user_id' => $user_id, @@ -915,7 +914,7 @@ class ShortcutController extends BaseController{ $this->assign('bank_info',$bank_info); $this->assign('cardNo',I('request.card_no')); - +// var_dump($request); $this->display('yee_step2'); diff --git a/Application/Sdk/View/default/Shortcut/yee_step1.html b/Application/Sdk/View/default/Shortcut/yee_step1.html index 63e07a8c..56af9348 100644 --- a/Application/Sdk/View/default/Shortcut/yee_step1.html +++ b/Application/Sdk/View/default/Shortcut/yee_step1.html @@ -23,7 +23,8 @@ - + + @@ -82,7 +83,8 @@ - + +