Commit 52829a40 authored by 734642908@qq.com's avatar 734642908@qq.com

处理昵称

parent 5aab6d95
......@@ -13,7 +13,7 @@ class UserModel extends BaseModel
// $tmp_arr = array("uid","user_name","user_nickname","user_avatar","sex","gold");
// $userInfo = get_uinfo_by_uid($userid,$tmp_arr);
$userInfo = M("game_member","",$this->__lewan_hezi)->where(array('uid'=>$uid))->field('uid,user_nickname as nickName,user_avatar as avatarUrl,sex as gender,gold')->find();
$userInfo['nickName'] = emoji_decode($userInfo['nickName']);
//获取用户签到信息
// $sql = "select * from ".get_table("game_member_sign")." where uid=$userid and game_code='hezi' and add_time < '".strtotime(date('Y-m-d'))."' and add_time > '".strtotime(date('Y-m-d',time()-(60*60*24)))."' order by add_time desc";
// $result = $GLOBALS["conn"]->Query($sql);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment