作者 王智

1111

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