浏览代码

advertise

tusx 6 年之前
父节点
当前提交
21170405de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/views/wap/share.blade.php

+ 1 - 1
resources/views/wap/share.blade.php

@@ -104,7 +104,7 @@
         timestamp: {{$js_config['timestamp']}}, // 必填,生成签名的时间戳
         nonceStr: "{{$js_config['nonceStr']}}", // 必填,生成签名的随机串
         signature: "{{$js_config['signature']}}",// 必填,签名
-        jsApiList: [{{implode(',',$js_config['jsApiList'])}}] // 必填,需要使用的JS接口列表
+        jsApiList: ['{{implode("','",$js_config['jsApiList'])}}'] // 必填,需要使用的JS接口列表
     };
     var config = {
       //json_encode($share_config)