songxingwei il y a 3 ans
Parent
commit
69918f167a
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      application/common/library/Common.php

+ 0 - 1
application/common/library/Common.php

@@ -369,7 +369,6 @@ class Common
         $appsecret = Config::get_values('wechat_appsecret');
         $url = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=' . $appid . '&secret=' . $appsecret;
         $res = json_decode(file_get_contents($url),true);
-        print_r($res);die;
         $access_token = $res['access_token'];
         //请求url
         $url='https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token='.$access_token;