您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 市场营销 > 人人商城-2018年1月微信升级头像不显示解决方案
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'];
本文标题:人人商城-2018年1月微信升级头像不显示解决方案
链接地址:https://www.777doc.com/doc-3798546 .html