正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -95,6 +95,9 @@ class LoginController extends HomeBaseController | @@ -95,6 +95,9 @@ class LoginController extends HomeBaseController | ||
95 | if (!$op_tel_info){ | 95 | if (!$op_tel_info){ |
96 | $op_info = Db::name('user')->where(['openid'=>session('openid')])->find(); | 96 | $op_info = Db::name('user')->where(['openid'=>session('openid')])->find(); |
97 | if($op_info){ | 97 | if($op_info){ |
98 | + if($res['user_type'] == '2'){ | ||
99 | + $dataup['headimgurl'] = $op_info['headimgurl']; | ||
100 | + } | ||
98 | $dataup['openid'] = session('openid'); | 101 | $dataup['openid'] = session('openid'); |
99 | $dataup['province'] = $op_info['province']; | 102 | $dataup['province'] = $op_info['province']; |
100 | $dataup['city'] = $op_info['city']; | 103 | $dataup['city'] = $op_info['city']; |
-
请 注册 或 登录 后发表评论