正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
@@ -202,8 +202,11 @@ class Common extends Api | @@ -202,8 +202,11 @@ 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); | ||
206 | $Wechat = new Application($config); | 205 | $Wechat = new Application($config); |
206 | + dump($api); | ||
207 | + dump($url); | ||
208 | + dump($APIs); | ||
209 | + die; | ||
207 | $Wechat->js->setUrl($url); | 210 | $Wechat->js->setUrl($url); |
208 | $return['config'] = $Wechat->js->config($APIs, $debug = false, $beta = false, $json = false); | 211 | $return['config'] = $Wechat->js->config($APIs, $debug = false, $beta = false, $json = false); |
209 | $this->success('', $return); | 212 | $this->success('', $return); |
-
请 注册 或 登录 后发表评论