From 3dff96d8b7ded0de93d34cf62fbc914796771439 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 10 Dec 2019 11:38:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BE=AE=E4=BF=A1=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/wechat/view/config/options.html | 2 +- app/wechat/view/config/options_api.html | 8 ++++---- app/wechat/view/config/options_thr.html | 18 +++++++++--------- app/wechat/view/config/options_tst.html | 14 +++++++++----- 4 files changed, 23 insertions(+), 19 deletions(-) diff --git a/app/wechat/view/config/options.html b/app/wechat/view/config/options.html index eeac49d30..cc1ff8147 100644 --- a/app/wechat/view/config/options.html +++ b/app/wechat/view/config/options.html @@ -10,7 +10,7 @@ {foreach ['api'=>'公众号平台API模式','thr'=>'第三方平台授权模式','test'=>'接口功能测试'] as $k=>$v} {/foreach} -

请选择微信对接方式,其中第三方平台授权需要微信开放平台支持,同时需要搭建 SERVICE 服务!

+

请选择微信对接方式,其中第三方平台授权需要微信开放平台支持,同时需要搭建 Service 服务!

diff --git a/app/wechat/view/config/options_api.html b/app/wechat/view/config/options_api.html index 098dd2b55..0efe96996 100644 --- a/app/wechat/view/config/options_api.html +++ b/app/wechat/view/config/options_api.html @@ -1,10 +1,10 @@
-
+
+ 使用API直接对接时,需要在微信公众号平台配置授权IP及网页授权域名,另外再将获取到的参数填写到下面。 +
-
- 使用API直接对接时,需要在微信公众号平台配置授权IP及网页授权域名,另外再将获取到的参数填写到下面! -
+
diff --git a/app/wechat/view/config/options_thr.html b/app/wechat/view/config/options_thr.html index 2937a82a9..8d7184b98 100644 --- a/app/wechat/view/config/options_thr.html +++ b/app/wechat/view/config/options_thr.html @@ -1,25 +1,25 @@ +
+ 使用第三方授权时,需要单独搭建楚才开放平台 Service 服务,二者需要使用 Yar 或 Soap 方式通信。 +
+
-
- 使用第三方授权时,需要单独搭建 SERVICE 服务并将域名配置到 WECHAT 文件,二者需要使用 Yar 或 Soap 通信! -
- - + {if !empty($wechat)}
-

微信昵称:{$wechat.nick_name|default=''}

-

微信类型:{if $wechat.service_type eq 2}服务号{elseif $wechat.service_type eq 3}小程序{else}订阅号{/if} / {$wechat.verify_type_info == -1 ? '未认证' : '已认证'}

-

注册公司:{$wechat.principal_name}

+

微信昵称:{$wechat.user_nickname|default='-'}

+

微信类型:{$wechat.service_type|default='-'} / {$wechat.service_verify == '未认证' ? '未认证' : '已认证'}

+

注册公司:{$wechat.user_company|default='-'}

授权绑定:{$wechat.create_at|format_datetime}

- + {/if}
diff --git a/app/wechat/view/config/options_tst.html b/app/wechat/view/config/options_tst.html index a3d9aea21..d20ceea2e 100644 --- a/app/wechat/view/config/options_tst.html +++ b/app/wechat/view/config/options_tst.html @@ -1,5 +1,9 @@ +
+ 这里对微信开发的常用功能做了些测试案例,请使用微信扫码进行测试。 +
+

@@ -18,23 +22,23 @@

- +

网页授权

- +

JSSDK签名

- +

JSAPI支付

- +

扫码支付①

- +

扫码支付②