From 17a27bbbe11da68e4e27bbd4d51f427a0e6140c0 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 3 May 2018 14:51:41 +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=98=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/index/controller/Index.php b/application/index/controller/Index.php index 5bff821d5..0921e7ac4 100644 --- a/application/index/controller/Index.php +++ b/application/index/controller/Index.php @@ -47,6 +47,7 @@ class Index extends Controller // 创建JSAPI参数签名 $options = $wechat->createParamsForJsApi($result['prepay_id']); $optionJSON = json_encode($options, JSON_UNESCAPED_UNICODE); + // JSSDK 签名配置 $configJSON = json_encode(WechatService::webJsSDK(), JSON_UNESCAPED_UNICODE); echo '
';
@@ -58,7 +59,7 @@ class Index extends Controller
         echo "\n\n--- JSAPI 及 H5 参数 ---\n";
         var_export($options);
         echo '
'; - echo ""; + echo ""; echo "