正在显示
1 个修改的文件
包含
1 行增加
和
6 行删除
@@ -12,7 +12,7 @@ use EasyWeChat\Factory; | @@ -12,7 +12,7 @@ use EasyWeChat\Factory; | ||
12 | */ | 12 | */ |
13 | class Index extends Api | 13 | class Index extends Api |
14 | { | 14 | { |
15 | - protected $noNeedLogin = ['index','info','jssdk','jssdk1']; | 15 | + protected $noNeedLogin = ['index','info','jssdk']; |
16 | protected $noNeedRight = ['*']; | 16 | protected $noNeedRight = ['*']; |
17 | 17 | ||
18 | /** | 18 | /** |
@@ -106,9 +106,4 @@ class Index extends Api | @@ -106,9 +106,4 @@ class Index extends Api | ||
106 | $res = Factory::officialAccount(config('wechat'))->jssdk->setUrl($uri)->buildConfig($apis, $debug = true, $beta = false, $json = false); | 106 | $res = Factory::officialAccount(config('wechat'))->jssdk->setUrl($uri)->buildConfig($apis, $debug = true, $beta = false, $json = false); |
107 | $this->success('sdk', $res); | 107 | $this->success('sdk', $res); |
108 | } | 108 | } |
109 | - | ||
110 | - public function jssdk1() | ||
111 | - { | ||
112 | - halt(Factory::officialAccount(config('wechat'))->jssdk->getTicket()); | ||
113 | - } | ||
114 | } | 109 | } |
-
请 注册 或 登录 后发表评论