响应参数

名称 类型 描述
canDiscount boolean 是否打折
canMemberPrice boolean 是否会员价
canPoint boolean 是否积分
canRecharge boolean 是否储值
cardType int 卡类型
cardTypeName string 卡类型名称
id int id
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 id
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 id
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 id
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 id

请求示例

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": ""
}