作者 王智

1

@@ -204,7 +204,7 @@ class Common extends Api @@ -204,7 +204,7 @@ class Common extends Api
204 // $APIs = explode(',', $api); 204 // $APIs = explode(',', $api);
205 $Wechat = new Application($config); 205 $Wechat = new Application($config);
206 $Wechat->js->setUrl($url); 206 $Wechat->js->setUrl($url);
207 - $return['config'] = $Wechat->js->config($APIs, $debug = false, $beta = false, $json = false); 207 + $return['config'] = $Wechat->js->config($api, $debug = false, $beta = false, $json = false);
208 $this->success('', $return); 208 $this->success('', $return);
209 } 209 }
210 210