>[info]查询邮箱一条信息
id和email 二选一查询
~~~[api]
post:/Api/User/getOne
int:id#邮箱id,指定查询的邮箱id
email#邮箱地址,指定查询的邮箱地址
<<<
success
"data":{
"id":邮箱id,
"domain_id":域名id,
"email":邮箱地址,
"uname":姓名,
"branch_id":部门id,
"tel":电话,
"active":是否开启,
"limits":收发限制,
"limitg":容量限制,
"ctime":创建时间
}
<<<
error
{
"msg": '提示字符串'
}
~~~
>[info]查询邮箱多条信息
~~~[api]
post:/Api/User/getList
int:domain_id#域名id,可选
int:from#从第几条起
int:total#总条数,建议不要超过100
int:order=默认1#排序,1创建时间降序,2创建时间升序
<<<
success
"data":[{
"id":邮箱id,
"domain_id":域名id,
"email":邮箱地址,
"uname":姓名,
"domain_id":域名id,
"tel":电话,
"active":是否开启,
"limits":收发限制,
"limitg":容量限制,
"ctime":创建时间
}]
<<<
error
{
"msg": '提示字符串'
}
~~~
>[info]查询邮箱总数
~~~[api]
post:/Api/User/getTotal
int:domain_id#域名id,可选
<<<
success
"data":总数
<<<
error
{
"msg": '提示字符串'
}
~~~