membercardclass - 会员卡分类接口
- api/member/membercardclass/getlist GET 获取列表
- api/member/membercardclass/get GET 根据id获取信息
- api/member/membercardclass/getcardtypelist GET 获取卡类型列表
- api/member/membercardclass/create POST 新增
- api/member/membercardclass/update POST 修改
- api/member/membercardclass/delete POST 删除
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| canDiscount | boolean | 是否打折 |
| canMemberPrice | boolean | 是否会员价 |
| canPoint | boolean | 是否积分 |
| canRecharge | boolean | 是否储值 |
| cardType | int | 卡类型 |
| cardTypeName | string | 卡类型名称 |
| id | int | |
| isDefault | boolean | 是否默认 |
| name | string | 名称 |
| pointsBasic | int | 积分基数 |
| pointsToOne | int | N积分抵一元 |
| pointsValidDays | int | 积分有效日 |
响应示例
application/json, text/json
[
{
"name": "",
"cardType": 2,
"cardTypeName": "",
"canRecharge": true,
"canMemberPrice": true,
"canDiscount": true,
"canPoint": true,
"pointsBasic": 8,
"pointsToOne": 9,
"pointsValidDays": 10,
"isDefault": true,
"id": 12
},
{
"name": "",
"cardType": 2,
"cardTypeName": "",
"canRecharge": true,
"canMemberPrice": true,
"canDiscount": true,
"canPoint": true,
"pointsBasic": 8,
"pointsToOne": 9,
"pointsValidDays": 10,
"isDefault": true,
"id": 12
}
]
Uri请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int |
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| canDiscount | boolean | 是否打折 |
| canMemberPrice | boolean | 是否会员价 |
| canPoint | boolean | 是否积分 |
| canRecharge | boolean | 是否储值 |
| cardType | int | 卡类型 |
| cardTypeName | string | 卡类型名称 |
| id | int | |
| isDefault | boolean | 是否默认 |
| name | string | 名称 |
| pointsBasic | int | 积分基数 |
| pointsToOne | int | N积分抵一元 |
| pointsValidDays | int | 积分有效日 |
响应示例
application/json, text/json
{
"name": "",
"cardType": 2,
"cardTypeName": "",
"canRecharge": true,
"canMemberPrice": true,
"canDiscount": true,
"canPoint": true,
"pointsBasic": 8,
"pointsToOne": 9,
"pointsValidDays": 10,
"isDefault": true,
"id": 12
}
响应参数
响应示例
application/json, text/json
[
{
"key": 1,
"value": ""
},
{
"key": 1,
"value": ""
}
]
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| canDiscount | boolean | 是否打折 |
| canMemberPrice | boolean | 是否会员价 |
| canPoint | boolean | 是否积分 |
| canRecharge | boolean | 是否储值 |
| cardType | int | 卡类型 |
| cardTypeName | string | 卡类型名称 |
| id | int | |
| isDefault | boolean | 是否默认 |
| name | string | 名称 |
| pointsBasic | int | 积分基数 |
| pointsToOne | int | N积分抵一元 |
| pointsValidDays | int | 积分有效日 |
请求示例
application/json, text/json
{
"name": "",
"cardType": 2,
"cardTypeName": "",
"canRecharge": true,
"canMemberPrice": true,
"canDiscount": true,
"canPoint": true,
"pointsBasic": 8,
"pointsToOne": 9,
"pointsValidDays": 10,
"isDefault": true,
"id": 12
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| 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": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| canDiscount | boolean | 是否打折 |
| canMemberPrice | boolean | 是否会员价 |
| canPoint | boolean | 是否积分 |
| canRecharge | boolean | 是否储值 |
| cardType | int | 卡类型 |
| cardTypeName | string | 卡类型名称 |
| id | int | |
| isDefault | boolean | 是否默认 |
| name | string | 名称 |
| pointsBasic | int | 积分基数 |
| pointsToOne | int | N积分抵一元 |
| pointsValidDays | int | 积分有效日 |
请求示例
application/json, text/json
{
"name": "",
"cardType": 2,
"cardTypeName": "",
"canRecharge": true,
"canMemberPrice": true,
"canDiscount": true,
"canPoint": true,
"pointsBasic": 8,
"pointsToOne": 9,
"pointsValidDays": 10,
"isDefault": true,
"id": 12
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| 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": ""
}
Body请求参数
| 名称 | 类型 | 描述 |
|---|---|---|
| id | int |
请求示例
application/json, text/json
{
"id": 1
}
响应参数
| 名称 | 类型 | 描述 |
|---|---|---|
| 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": ""
}