数据缓存处理
This commit is contained in:
@@ -226,8 +226,13 @@ class User extends Model
|
||||
}
|
||||
}
|
||||
}
|
||||
if(isset($user_info['mobile'])){
|
||||
$user_mo = $user_info['mobile'];
|
||||
}else{
|
||||
$user_mo = 1213131231;
|
||||
}
|
||||
|
||||
$user_info['auth'] = db::name('user_auth')->where(['mobile' => $user_info['mobile'],'is_real' => 1])->find() ? 1 : 0;//是否实名:0-未实名,1-实名
|
||||
$user_info['auth'] = db::name('user_auth')->where(['mobile' => $user_mo,'is_real' => 1])->find() ? 1 : 0;//是否实名:0-未实名,1-实名
|
||||
$user_info['icon'][0] = model('api/UserData')->user_wealth_icon($uid);//财富图标
|
||||
$user_info['icon'][1] = model('api/UserData')->user_charm_icon($uid);//魅力图标
|
||||
//判断是否是歌手 如果是 返回等级图标
|
||||
|
||||
Reference in New Issue
Block a user