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

2

... ... @@ -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());
}
}
... ...