...
|
...
|
@@ -12,7 +12,7 @@ use EasyWeChat\Factory; |
|
|
*/
|
|
|
class Index extends Api
|
|
|
{
|
|
|
protected $noNeedLogin = ['index','info','jssdk','jssdk1'];
|
|
|
protected $noNeedLogin = ['index','info','jssdk'];
|
|
|
protected $noNeedRight = ['*'];
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -106,9 +106,4 @@ class Index extends Api |
|
|
$res = Factory::officialAccount(config('wechat'))->jssdk->setUrl($uri)->buildConfig($apis, $debug = true, $beta = false, $json = false);
|
|
|
$this->success('sdk', $res);
|
|
|
}
|
|
|
|
|
|
public function jssdk1()
|
|
|
{
|
|
|
halt(Factory::officialAccount(config('wechat'))->jssdk->getTicket());
|
|
|
}
|
|
|
} |
...
|
...
|
|