WorkPro 手册

接口地址

[接口服务器地址]/api/users/get.html

请求方法

POST

Request Headers

名称 必选 类型 说明
Content-Type true string application/json; charset=UTF-8
authen true string 认证码 什么是认证码
appid true string 接入ID 什么是接入ID
timestamp true string 时间戳
uid true string 当前帐号
lang true string 语言 zh-cn,en-us

Request Body

名称 必选 类型 说明
user_id true string 用户ID/account field的值
field true string 查询的字段 gid,account
from false string 来源 freind 表示来自好友,显示好友信息

调用样例及调试工具

测试接口

返回结果(成功)

            {"status":1,"code":0,"msg":"","data":{"gid":"bba1537c505611e99cc488d7f697be9a","name":"测试1","avatar":"","account":"test1","mobile":"","email":"","intro":"","py_first":"cs1","status":1,"userinfo":"","openid_third":"","create_time":1514736000,"update_time":0,"no_disturbing_style":0,"no_disturbing_start":0,"no_disturbing_end":0}}