作者 王智

1111

@@ -200,8 +200,7 @@ class Common extends Api @@ -200,8 +200,7 @@ class Common extends Api
200 $api = input('api'); 200 $api = input('api');
201 $url = input('url'); 201 $url = input('url');
202 $config = config('wechat'); 202 $config = config('wechat');
203 - dump($config);  
204 - die; 203 + // dump($config);
205 $APIs = explode(',', $api); 204 $APIs = explode(',', $api);
206 $Wechat = new Application($config); 205 $Wechat = new Application($config);
207 $Wechat->js->setUrl($url); 206 $Wechat->js->setUrl($url);
@@ -6,10 +6,10 @@ use app\common\controller\Api; @@ -6,10 +6,10 @@ use app\common\controller\Api;
6 use addons\third\library\Wechat; 6 use addons\third\library\Wechat;
7 use think\Db; 7 use think\Db;
8 8
9 -//define('ak', 'wx76ddffb14a62a7c9');  
10 -//define('sk', 'fbeab9821d11b6c03402ee419f93618f');  
11 -define('ak', 'wx3b1935a9955e6e56');  
12 -define('sk', '32e1840b3526ff6534bb7f454d7f6fdc'); 9 +define('ak', 'wx76ddffb14a62a7c9');
  10 +define('sk', 'fbeab9821d11b6c03402ee419f93618f');
  11 +//define('ak', 'wx3b1935a9955e6e56');
  12 +//define('sk', '32e1840b3526ff6534bb7f454d7f6fdc');
13 13
14 /** 14 /**
15 * 用户接口 15 * 用户接口