作者 王智

1

... ... @@ -201,10 +201,10 @@ class Common extends Api
$url = input('url');
$config = config('wechat');
// dump($config);
// $APIs = explode(',', $api);
$APIs = explode(',', $api);
$Wechat = new Application($config);
$Wechat->js->setUrl($url);
$return['config'] = $Wechat->js->config($api, $debug = false, $beta = false, $json = false);
$return['config'] = $Wechat->js->config($APIs, $debug = false, $beta = false, $json = false);
$this->success('', $return);
}
... ...