简要描述:

  • 添加微信卡券

请求URL:

POST/wapapi/member/getwxCard

参数:

参数名 是否必须 类型 说明
cards_id int 卡券ID(多个id以','隔开)

返回示例:

正确时返回:

{
    "data": {
        "cardList": {
            "cardId": "asdasdasd",
            "cardExt": [
                {
                    "code": "B13435910590",
                    "timestamp": 1555472881,
                    "nonce_str": "JWDJ9XkAp2Euco97",
                    "signature": "8febdc5389d94079e8929de73250ac46a723e7fb"
                },
                {
                    "code": "B97473183814",
                    "timestamp": 1555472881,
                    "nonce_str": "tNAQbEzOBYhPV1n7",
                    "signature": "17e5a02d3d2255f2378bd2235331da7db334a1b5"
                }
            ]
        }
    },
    "code": 1,
    "message": "获取成功"
}

错误时返回:

{
    "code": -1,
    "message": "获取失败"
}

返回参数说明:

参数名 类型 说明
code string 自定义code
timestamp string 时间戳
nonce_str string 随机字符串
signature string 签名