正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -201,7 +201,10 @@ class Common extends Api | @@ -201,7 +201,10 @@ class Common extends Api | ||
201 | $url = input('url'); | 201 | $url = input('url'); |
202 | $config = config('wechat'); | 202 | $config = config('wechat'); |
203 | // dump($config); | 203 | // dump($config); |
204 | + dump($api); | ||
204 | $APIs = explode(',', $api); | 205 | $APIs = explode(',', $api); |
206 | + dump($APIs); | ||
207 | + die; | ||
205 | $Wechat = new Application($config); | 208 | $Wechat = new Application($config); |
206 | $Wechat->js->setUrl($url); | 209 | $Wechat->js->setUrl($url); |
207 | $return['config'] = $Wechat->js->config($APIs, $debug = false, $beta = false, $json = false); | 210 | $return['config'] = $Wechat->js->config($APIs, $debug = false, $beta = false, $json = false); |
-
请 注册 或 登录 后发表评论