Global

Type Definitions

ResponseModel

Properties:
Name Type Description
code Number 状态码
data Any 返回数据
msg String 提示信息
Type:
  • Object

ListModel

Properties:
Name Type Description
total Number 总条数
current_page Number 当前页码
per_page Number 每页数据条数
data Array 数据列表(详情字段见model)
Type:
  • Object

InstanceModel

Properties:
Name Type Description
getUserManager function 用户管理
getKeysManager function 钥匙管理
getServicesManager function 服务管理
on function 事件订阅
emit function 事件发布
Type:
  • Object

LoginModal

Properties:
Name Type Description
user String 登录用户信息
Properties
Name Type Description
uid String uid
user_nickname String 昵称
user_realname String 真实姓名
country_code String 国际区号
user_phone String 手机号码
user_verified String 实名状态Y:已实名;N:未实名
client_app_version String 登录App版本
client_mobile String 登录机型
client_last_login String 最后登录时间
client_last_ip String 最后登录ip
created_at String 创建时间
deleted_at String 删除时间
sip String SIP连接参数
Properties
Name Type Description
ip String 连接ip
port String 连接端口
password String 连接密码
Type:
  • Object

UserDataModel

Properties:
Name Type Description
user String 用户信息
Properties
Name Type Description
uid String uid
user_nickname String 昵称
user_realname String 真实姓名
country_code String 国际区号
user_phone String 手机号码
user_verified String 实名状态Y:已实名;N:未实名
client_app_version String 登录App版本
client_mobile String 登录机型
client_last_login String 最后登录时间
client_last_ip String 最后登录ip
created_at String 创建时间
deleted_at String 删除时间
sip String SIP连接参数
Properties
Name Type Description
ip String 连接ip
port String 连接端口
password String 连接密码
Type:
  • Object

OpenRecordModel

Properties:
Name Type Description
uid String 记录uid
project_name String 项目名称
building_name String 楼栋名称
room_number String 房屋编号
user_realname String 用户真实姓名
gate_name String 设备名称
ur_identity String 用户身份
capture_type String 开门方式
capture_photo String 抓拍图片七牛地址
small_thumb String 小图url
origin_thumb String 大图url
created_at String 创建时间
Type:
  • Object

UserRoomModel

Properties:
Name Type Description
uid String 记录uid
user_id String 创建时间
project_id String 房间名称
building_id String 房间名全路径
room_id String 房屋编号
ur_identity String 转接号码
ur_expired String 设备名称
ur_dnd String 用户身份
ur_default_room String 开门方式
ur_transfer_phone String 抓拍图片七牛地址
project_name String 小图url
building_name String 大图url
room_name String 创建时间
ur_identity_txt String 创建时间
is_expired String 创建时间
state String 创建时间
app_accredit String 创建时间
project_manager String 创建时间
Properties
Name Type Description
name String 创建时间
phone String 创建时间
Type:
  • Object