...
|
...
|
@@ -95,6 +95,9 @@ class LoginController extends HomeBaseController |
|
|
if (!$op_tel_info){
|
|
|
$op_info = Db::name('user')->where(['openid'=>session('openid')])->find();
|
|
|
if($op_info){
|
|
|
if($res['user_type'] == '2'){
|
|
|
$dataup['headimgurl'] = $op_info['headimgurl'];
|
|
|
}
|
|
|
$dataup['openid'] = session('openid');
|
|
|
$dataup['province'] = $op_info['province'];
|
|
|
$dataup['city'] = $op_info['city'];
|
...
|
...
|
|