From da37ef3410ae8ed96e42d11ac0a28e0846865515 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 12 Nov 2019 16:25:55 +0800 Subject: [PATCH] =?UTF-8?q?ios=20=E5=85=BC=E5=AE=B9=E6=97=A7=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/ExchangeController.class.php | 2 +- .../Sdk/View/default/Spend/pay_way_v1.html | 249 ++++++++++++++++++ 2 files changed, 250 insertions(+), 1 deletion(-) create mode 100644 Application/Sdk/View/default/Spend/pay_way_v1.html diff --git a/Application/Sdk/Controller/ExchangeController.class.php b/Application/Sdk/Controller/ExchangeController.class.php index 2d77a4af..e8c5bb03 100644 --- a/Application/Sdk/Controller/ExchangeController.class.php +++ b/Application/Sdk/Controller/ExchangeController.class.php @@ -85,7 +85,7 @@ class ExchangeController extends BaseController{ file_put_contents("./Application/Sdk/OrderNo/".$request['user_id']."-".$request['game_id'].".txt",think_encrypt(json_encode($request))); // $url = C('PAY_DOMAIN') . '/sdk.php?s=/userH/platform_pay/account/'.$request['account'].'&user_token='.$userToken.'&game_id='.$request['game_id'].'&money='.$request['price'].'&action=pay1&api_ver=1'; // echo base64_encode(json_encode(array('status'=>200,'out_trade_no'=>$out_trade_no,'img'=>$url))); - echo base64_encode(json_encode(array('status'=>200,'out_trade_no'=>$out_trade_no,'img'=>C('PAY_DOMAIN').'/sdk.php?s=/Spend/pay_way&user_id='.$request['user_id'].'&game_id='.$request['game_id'].'&type=1'.'&user_token='.$userToken)));exit; + echo base64_encode(json_encode(array('status'=>200,'out_trade_no'=>$out_trade_no,'img'=>C('PAY_DOMAIN').'/sdk.php?s=/Spend/pay_way_v1&user_id='.$request['user_id'].'&game_id='.$request['game_id'].'&type=1'.'&user_token='.$userToken)));exit; exit; diff --git a/Application/Sdk/View/default/Spend/pay_way_v1.html b/Application/Sdk/View/default/Spend/pay_way_v1.html new file mode 100644 index 00000000..eea05953 --- /dev/null +++ b/Application/Sdk/View/default/Spend/pay_way_v1.html @@ -0,0 +1,249 @@ + + + + + + + + + + + + + + + +
+ +
+
+
+ {$data.price} + {$data.coin} +
+
+
+ +
+
+ 游戏名称: + {$data.game_name} +
+
+
+ +
+
请选择支付方式
+
+
+ +
+ +
+
+ +
+ + + + +
+
+ +
+ + +
+
+ + +
+ +
+
+ + +
+ +
+
+ + +
+ + +
+
+ +
+ +
+
+ +
+
+
+
+ +
平台币
+
+
应付款平台币数量:{$data.price}
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+ +
绑币平台币
+
+
应付款绑币数量:{$data.price}
+
+ +
+
+
+ +
+
+
+
+
+
+ + + + + \ No newline at end of file