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 | id |
| 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 | id |
| 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 | id |
| 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 | id |
| 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-10-01 05:31: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-10-01 05:31: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-10-01 05:31: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": ""
}