http://127.0.0.1:8888/api/
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
type | 是 | int | 接口编号 |
encryptUserName | 是 | string | 用户v3数据 |
ticket | 是 | string | 用户v4数据 |
scene | 否 | int | 好友来源,可以从消息xml中获取 |
{
"type": 10035,
"encryptUserName": "v3_xxxx",
"ticket": "v4_xxxx"
}
如出现user ticket invalid错误,请添加scene参数
{
"type": 10035,
"encryptUserName": "v3_xxxx",
"ticket": "v4_xxxx"
"scene":xxxx # int类型
}
{
"data": {
"status": 0,
"desc": ""
}
}
参数名 | 类型 | 说明 |
---|---|---|
error_code | int | 错误代码 |
description | string | 错误描述 |
data | json | 业务数据 |