WorkPro 手册

处理好友申请

[API接口调用测试]

接口地址

[接口服务器地址]/api/linkmans/deal_request.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
linkman_user_id true string 好友ID
deal_status true integer 处理状态 1:同意 2:拒绝
deal_reason false string 处理说明

调用样例及调试工具

测试接口

返回结果(成功)

            {"status":1,"code":0,"msg":"","data":{"gid":"da1a94fc5abb11e9941288d7f697be9a","user_id":"user_id1","account":"test1","name":"测试1","avatar":"","py_first":"cs1","mobile":"18986223413","email":"","intro":"","nickname":"","create_time":1514736000}}