wxbuyinguser - 微信买家用户接口
- api/weixin/wxbuyinguser/get GET 获取微信买家用户
- api/weixin/wxbuyinguser/getbyopenid GET 通过openId获取微信买家用户
- api/weixin/wxbuyinguser/getlist POST 获取微信买家用户列表
- api/weixin/wxbuyinguser/saveuser POST 保存获取微信买家用户
- api/weixin/wxbuyinguser/createmember POST 注册会员
- api/weixin/wxbuyinguser/bindmember POST 绑定会员
- api/weixin/wxbuyinguser/unbindmember POST 解绑会员
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| memberId | int | 会员Id |
| name | string | 名称 |
| openId | string | OpenId |
| phone | string | 电话 |
| profile | string | 头像 |
| tenantId | int | 租户Id |
响应示例
application/json, text/json
{
"tenantId": 1,
"openId": "",
"name": "",
"profile": "",
"phone": "",
"memberId": 6,
"id": 7
}
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| openId | string |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| memberId | int | 会员Id |
| name | string | 名称 |
| openId | string | OpenId |
| phone | string | 电话 |
| profile | string | 头像 |
| tenantId | int | 租户Id |
响应示例
application/json, text/json
{
"tenantId": 1,
"openId": "",
"name": "",
"profile": "",
"phone": "",
"memberId": 6,
"id": 7
}
Body请求参数
请求示例
application/json, text/json
[ 1, 2 ]
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| memberId | int | 会员Id |
| name | string | 名称 |
| openId | string | OpenId |
| phone | string | 电话 |
| profile | string | 头像 |
| tenantId | int | 租户Id |
响应示例
application/json, text/json
[
{
"tenantId": 1,
"openId": "",
"name": "",
"profile": "",
"phone": "",
"memberId": 6,
"id": 7
},
{
"tenantId": 1,
"openId": "",
"name": "",
"profile": "",
"phone": "",
"memberId": 6,
"id": 7
}
]
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int | |
| memberId | int | 会员Id |
| name | string | 名称 |
| openId | string | OpenId |
| phone | string | 电话 |
| profile | string | 头像 |
| tenantId | int | 租户Id |
请求示例
application/json, text/json
{
"tenantId": 1,
"openId": "",
"name": "",
"profile": "",
"phone": "",
"memberId": 6,
"id": 7
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | int | |
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"data": 1,
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| birthday | date | 生日 |
| idCard | string | 证件号 |
| name | string | 姓名 |
| phone | string | 电话 |
| sex | int | 性别 |
| wxBuyingUserId | int | 微信买家Id |
请求示例
application/json, text/json
{
"wxBuyingUserId": 1,
"name": "",
"phone": "",
"sex": 4,
"birthday": "2025-12-22 14:10:32",
"idCard": "",
"address": ""
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | int | |
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"data": 1,
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| birthday | date | 生日 |
| idCard | string | 证件号 |
| name | string | 姓名 |
| phone | string | 电话 |
| sex | int | 性别 |
| wxBuyingUserId | int | 微信买家Id |
请求示例
application/json, text/json
{
"wxBuyingUserId": 1,
"name": "",
"phone": "",
"sex": 4,
"birthday": "2025-12-22 14:10:32",
"idCard": "",
"address": ""
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | int | |
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"data": 1,
"status": 200,
"message": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | 地址 |
| birthday | date | 生日 |
| idCard | string | 证件号 |
| name | string | 姓名 |
| phone | string | 电话 |
| sex | int | 性别 |
| wxBuyingUserId | int | 微信买家Id |
请求示例
application/json, text/json
{
"wxBuyingUserId": 1,
"name": "",
"phone": "",
"sex": 4,
"birthday": "2025-12-22 14:10:32",
"idCard": "",
"address": ""
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| message | string | |
| status | string | 200:; 500:; 601:; 602:; 603:; 604:; 605:; 606:; 607:; 608:; 701:; 702:; 703:; 704:; 801:; 901:; 902:; 903:; 904:; 905:; 1001:; 1002:; 1003: |
响应示例
application/json, text/json
{
"status": 200,
"message": ""
}