API
Class

UserInfo ($UI/wxsys/comps/user/user#userInfo)

使用范围:UI2

Contents

class UserInfo ($UI/wxsys/comps/user/user#userInfo)

获取用户信息返回类型

Constructor Top

  userInfo ()

Properties Top

String avatarUrl

头像URL

String city

String country

国家

String email

邮箱

Integer gender

性别,为1时是男性,值为2时是女性,值为0时是未知

Array group

群组

String id

用户

String name

用户名称

String nickName

昵称

String openId

微信openId

String phone

电话号码

String province

Constructor details Top

public userInfo ()

获取用户信息返回类型

Properties Detail Top

public String avatarUrl

头像URL

public String city

public String country

国家

public String email

邮箱

public Integer gender

性别,为1时是男性,值为2时是女性,值为0时是未知

public Array group

群组

public String id

用户

public String name

用户名称

public String nickName

昵称

public String openId

微信openId

public String phone

电话号码

public String province