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