作者 王智

1

@@ -202,6 +202,7 @@ class Common extends Api @@ -202,6 +202,7 @@ class Common extends Api
202 $config = config('wechat'); 202 $config = config('wechat');
203 // dump($config); 203 // dump($config);
204 $APIs = explode(',', $api); 204 $APIs = explode(',', $api);
  205 + dump($APIs);
205 $Wechat = new Application($config); 206 $Wechat = new Application($config);
206 $Wechat->js->setUrl($url); 207 $Wechat->js->setUrl($url);
207 $return['config'] = $Wechat->js->config($APIs, $debug = false, $beta = false, $json = false); 208 $return['config'] = $Wechat->js->config($APIs, $debug = false, $beta = false, $json = false);