作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

2

@@ -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 }