作者 王智

1

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