From 05508cd504ec6758713740481df53e4a67c2b71b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 14 Apr 2017 17:12:44 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Wap.php | 2 +- application/index/view/wap.payjs.html | 71 ++++++++++++++++++++++++++ application/index/view/wap.payqrc.html | 2 + 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 application/index/view/wap.payjs.html diff --git a/application/index/controller/Wap.php b/application/index/controller/Wap.php index 708517c32..843e5db5c 100644 --- a/application/index/controller/Wap.php +++ b/application/index/controller/Wap.php @@ -52,7 +52,7 @@ class Wap extends BasicWechat { } } - public function jspay() { + public function payjs() { return view(); } diff --git a/application/index/view/wap.payjs.html b/application/index/view/wap.payjs.html new file mode 100644 index 000000000..009deb2d2 --- /dev/null +++ b/application/index/view/wap.payjs.html @@ -0,0 +1,71 @@ + + + + + JSAPI支付DEMO + + + + + + +
+

扫码支付DEMO

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+ + + + + + \ No newline at end of file diff --git a/application/index/view/wap.payqrc.html b/application/index/view/wap.payqrc.html index e82ca9562..472a06da0 100644 --- a/application/index/view/wap.payqrc.html +++ b/application/index/view/wap.payqrc.html @@ -3,6 +3,8 @@ 扫码支付DEMO + +