2017年12月微信更新头像规则,导致人人商城头像无法显示,针对这个规则调整给出修改解决方法。framework/builtin/core/receiver.php$userinfo['headimgurl']=rtrim($userinfo['headimgurl'],'0').132;替换为$userinfo['headimgurl']=$userinfo['headimgurl'];framework/model/mc.mod.php$userinfo['headimgurl']=rtrim($userinfo['headimgurl'],'0').132;替换为$userinfo['headimgurl']=$userinfo['headimgurl'];$fans['headimgurl']=rtrim($fans['headimgurl'],'0').132;替换为$fans['headimgurl']=$fans['headimgurl'];$rec['avatar']=rtrim($fan['headimgurl'],'0').132;替换为$rec['avatar']=$fan['headimgurl'];app/source/mc/profile.ctrl.phpempty($profile['avatar'])?($data['avatar']=rtrim($map_fans['headimgurl'],'0').132):'';替换为empty($profile['avatar'])?($data['avatar']=$map_fans['headimgurl']):'';app/source/auth/register.ctrl.php$data['avatar']=rtrim($map_fans['headimgurl'],'0').132;替换为$data['avatar']=$map_fans['headimgurl'];app/source/auth/oauth.ctrl.php(修改2处)$userinfo['headimgurl']=rtrim($userinfo['headimgurl'],'0').132;替换为$userinfo['headimgurl']=$userinfo['headimgurl'];app/source/auth/forward.ctrl.php$record['avatar']=rtrim($userinfo['headimgurl'],'0').132;替换为$record['avatar']=$userinfo['headimgurl'];