批量设置购物卡状态

接口描述:

  • 批量设置购物卡状态。

请求 URL:

  • http|https://host/api/v1/card/method/set.card.status/

请求方式:

  • GET
  • POST

是否授权:

  • 需要授权

业务参数:

参数名 类型 是否必须 范围值 默认值 示例值 描述
card_id integer gt[]:0 [3,4,5] 购物卡编号
status integer in:0,1 1 购物卡状态 0=禁用 1=启用

响应参数:

参数名 类型 是否返回 示例值 描述
status integer 200 状态码
message string success 消息信息
data boolean true 返回 true 表示执行成功

响应示例:

  1. {
  2. "status": 200,
  3. "message": "success",
  4. "data": true
  5. }

备注: