YISModule.Login.web_getUserInfo(param)

获取登录用户的信息

param 参数

该方法无回调以外的参数

return 参数

详见示例

示例

YISModule.Login.web_getUserInfo({
    success: function(data){
        // data is UserInfo
        data = {
            "ver": 1,
            "ret": true,
            "errcode": 200,
            "errmsg": "success",
            "errkey": null,
            "data": {
                "uid": 181175902,
                "username": "lpdyccj4946",
                "encodeName": "Jy3vkTV8gGOC1Tan",
                "gender": 0,
                "headMsg": 0,
                "securityMsg": "您的账号安全性可提高,建议立即进行安全设置,提高账号安全级别",
                "securityAlert": false,
                "isRandCodeLogin": false,
                "mobile": "86-185****5863",
                "prenum": "86",
                "status": 1,
                "email": "",
                "nickname": "Edwonlim",
                "currentNick": "Edwonlim",
                "nickmsg": 0,
                "haveIdentityInfo": true,
                "timeOut": false,
                "year": 0,
                "month": 0,
                "day": 0,
                "verifyInfoType": 0,
                "userVerifyInfoStatus": null,
                "randCodeLogin": false
            }
        };
    }
})