# THINKPHP5微信SDK更新记录及升级指导 * 2018.03.21 TP5.1专用微信及微信支付sdk - 20180321更新 http://www.thinkphp.cn/extend/1136.html 新增5.1版的sdk包 * * * * * * 2017.12..10 重新打包了快捷类库 DataEdit ShowCode 使用方法参见 https://www.kancloud.cn/mikkle/thinkphp5_study/462693 * 2017.11.23 修改 User.php 删除$next_openid 的判断 ~~~ ├─tp_wechat 微信SDK目录 │ ├─src │ │ ├─User.php /** * 批量获取关注粉丝列表 * @param string $next_openid * @return bool|array */ public function getUserList($next_openid = '') { //删除$next_openid 的判断 if ( !$this->access_token ){ return false; } $curl_url = self::API_URL_PREFIX . self::USER_GET_URL . "access_token={$this->access_token}&next_openid={$next_openid}"; $result = Curl::curlGet($curl_url) ; return $this->resultJsonWithRetry($result,__FUNCTION__, func_get_args()); } ~~~ * * * * * * 2017.11.17 修改 BaseWechatApi.php 文件位置如下 ~~~ ├─tp_wechat 微信SDK目录 │ ├─base 核心基类目录 │ │ ├─BaseWechatApi.php 微信推送接口抽象类(基类) *20171117修改 ~~~ 修正上次更新中未引用Config以及Hook位置不准的错误 直接覆盖源码BaseWechatApi.php即可 * * * * * * 2017.11.14 修改 BaseWechatApi.php及Wechat.php文件 文件位置如下 ~~~ ├─tp_wechat 微信SDK目录 │ ├─base 核心基类目录 │ │ ├─BaseWechatApi.php 微信推送接口抽象类(基类) *20171114修改 │ ├─Wechat.php 扩展调用接口类 *20171114修改 ~~~ 修改内容:BaseWechatApi.php __construct方法 增加对配置信息的兼容修正多公众号 共同使用的兼容性 直接覆盖源码即可