1.URL
(上海节点)http://124.223.60.234:8080/system/asset/wechat/updateWechatSubscription
(美国节点)https://cloud.aovx.com/prod/system/asset/wechat/updateWechatSubscription
2.请求参数
2.1请求头
在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"userId":"184CC067E0E84C91B7BF602C9EFC3D51",
"userType":1,
"openId":"oo2hl5smcjwU2KLktMKpCQ86wvwg",
"contacts":"",
"phoneNum":"",
"email":"",
"nickName":"lenny",
"sex":1
}
2.3.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
userId | String | 用户唯一标识 | Y |
userType | int | 用户类型(0:账户用户;1:终端用户) | Y |
openId | String | 微信唯一标识 | Y |
contacts | String | 联系人 | Y |
phoneNum | String | 联系电话 | Y |
String | 联系邮箱 | Y | |
nickName | String | 微信名称 | Y |
sex | int | 性别(0:未知;1:男;2:女) | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": null
}
3.2.返回结果说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态 |
message | String | 返回结果描述 |
data | object | 返回结果体 |
PostMan测试示例
作者:admin 创建时间:2023-11-13 13:50
最后编辑:admin 更新时间:2025-04-26 15:43
最后编辑:admin 更新时间:2025-04-26 15:43