public function QueryUserInfo($token)
 {
     $ret = array('ret' => 4, 'msg' => 'query user info token invalid!');
     $token_c = new \lib\Token_Core();
     if ($token_c->is_token($token)) {
         $user = new UserService();
         $uinfo = $user->queryUserInfo(session('userid'));
         $ualias = $user->queryUserAlias(session('userid'));
         $umobile = $user->queryUserMobile(session('userid'));
         $userInfo = new UserInfo(array('aliasname' => $ualias, 'male' => $uinfo['sex'] == 1 ? true : false, 'age' => $uinfo['age'], 'mobile' => $umobile));
         $ret = array('ret' => 0, 'msg' => '');
     }
     $ret_h = new \proto\RetHead($ret);
     $userInfoResult = new UserInfoResult(array('result' => $ret_h, 'userid' => session('userid'), 'uinfo' => $userInfo));
     return $userInfoResult;
 }