From 56791cdd7d0f0e6b5334eb3d37af75c00fa1f5f6 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 25 May 2019 20:42:38 +0800 Subject: [PATCH] wx pay --- .../admin/admin/index.html | 9 ++++ .../index/pay/index.html | 47 ------------------ .../weixinwebauthorization/config.json | 4 +- .../weixinwebauthorization/index/Pay.php | 49 ------------------- 4 files changed, 11 insertions(+), 98 deletions(-) delete mode 100644 application/plugins/view/weixinwebauthorization/index/pay/index.html delete mode 100644 application/plugins/weixinwebauthorization/index/Pay.php diff --git a/application/plugins/view/weixinwebauthorization/admin/admin/index.html b/application/plugins/view/weixinwebauthorization/admin/admin/index.html index 6fb0121ce..8e65b5d7a 100755 --- a/application/plugins/view/weixinwebauthorization/admin/admin/index.html +++ b/application/plugins/view/weixinwebauthorization/admin/admin/index.html @@ -68,6 +68,15 @@ +
+ +
+ {{$Think.__MY_URL__}}
+ {{$Think.__MY_URL__}}index/order/
+ {{$Think.__MY_URL__}}index.php/index/order/ +
+
+ 编辑 diff --git a/application/plugins/view/weixinwebauthorization/index/pay/index.html b/application/plugins/view/weixinwebauthorization/index/pay/index.html deleted file mode 100644 index 80e5b58c0..000000000 --- a/application/plugins/view/weixinwebauthorization/index/pay/index.html +++ /dev/null @@ -1,47 +0,0 @@ - \ No newline at end of file diff --git a/application/plugins/weixinwebauthorization/config.json b/application/plugins/weixinwebauthorization/config.json index 9265c2592..f43014b4f 100644 --- a/application/plugins/weixinwebauthorization/config.json +++ b/application/plugins/weixinwebauthorization/config.json @@ -1,12 +1,12 @@ { "base":{ "plugins":"weixinwebauthorization", - "name":"微信登录", + "name":"微信网页授权", "logo":"\/static\/upload\/images\/plugins_weixinwebauthorization\/2019\/05\/24\/1558681549248354.jpg", "author":"Devil", "author_url":"https:\/\/shopxo.net\/", "version":"1.0.0", - "desc":"微信授权登录、注册", + "desc":"微信授权登录、注册、公众号支付", "apply_terminal":[ "pc", "h5" diff --git a/application/plugins/weixinwebauthorization/index/Pay.php b/application/plugins/weixinwebauthorization/index/Pay.php deleted file mode 100644 index ce066ba5f..000000000 --- a/application/plugins/weixinwebauthorization/index/Pay.php +++ /dev/null @@ -1,49 +0,0 @@ -assign('pay_data', $pay_data); - $this->assign('redirect_url', $weixin_redirect_url); - return $this->fetch('../../../plugins/view/weixinwebauthorization/index/pay/index'); - } else { - $this->assign('msg', '支付参数错误'); - return $this->fetch('public/tips_error'); - } - } - - -} -?> \ No newline at end of file