测试在后台创建微信卡券时,将fixed_term设置为40000或者100000000等值时,发现虽然卡券创建成功了,但是使用创建二维码接口创建二维码时,却报错,导致无法领取卡券。请问,能帮助查看下该问题吗?
创建微信卡券的json数据:
{
"card":
{
"card_type": "CASH",
"cash": {
"base_info": {
"logo_url": "http://mmbiz.qpic.cn/mmbiz_jpg/OzNUUuHxa3anWAcicIW8qeO7uAG7ANvgO4QZCw5SuOHwgmIjNA4fuYkjOrQBqJ8ho5maG5XyJ6kTykYHKRSE3Pw/0",
"brand_name":"brand_name",
"code_type":"CODE_TYPE_TEXT",
"title": "2018-12-19-14_22",
"sub_title": "sub_title",
"color": "Color100",
"notice": "notice 卡券使用提醒",
"description": "description\n卡券使用说明",
"date_info": {
"type": "DATE_TYPE_FIX_TERM",
"fixed_term": 40000,
"fixed_begin_term": 0
},
"sku": {
"quantity": 500000
},
"use_custom_code": false,
"bind_openid": false,
"service_phone": "service_phone",
"center_title": "center_title",
"center_sub_title": "center_sub_title",
"center_url": "https://www.baidu.com",
"get_limit": 3,
"use_limit": 3,
"can_share": true,
"can_give_friend": true,
"custom_url_name": "cus url_name",
"custom_url": "http://www.qq.com",
"custom_url_sub_title": "c sub_title",
"promotion_url_name": "pro url_name",
"promotion_url": "http://www.qq.com",
"promotion_url_sub_title": "pro sub_title"
},
"advanced_info": {
"use_condition": {
"accept_category": "accept_category\n花生,瓜子,矿泉水",
"reject_category": "reject_category\n烤串,腰子,冰啤酒",
"can_use_with_other_discount": true
},
"abstract": {
"abstract": "advanced_info abstract",
"icon_url_list": [
]
},
"text_image_list": [
{
"image_url": "http://mmbiz.qpic.cn/mmbiz_jpg/OzNUUuHxa3anWAcicIW8qeO7uAG7ANvgOQmAic4j9ZJFFV6A1EYfeuiaRSlMC5QulXd6lIKmCfj6PsSdhZuTD4FAw/0",
"text": "advanced_info text_image_list text1 图文描述"
},
{
"image_url": "http://mmbiz.qpic.cn/mmbiz_jpg/OzNUUuHxa3anWAcicIW8qeO7uAG7ANvgOPAntJQvUaMGs07H2o0bcyrO3lwlADD18Uvic81bT7bABff3ibDiaKGsUA/0",
"text": "advanced_info text_image_list text2 图文描述"
}
],
"time_limit": [
{
"type": "MONDAY",
"begin_hour":10,
"end_hour":20,
"begin_minute":10,
"end_minute":20
}
],
"business_service": [
"BIZ_SERVICE_FREE_WIFI",
"BIZ_SERVICE_WITH_PET",
"BIZ_SERVICE_FREE_PARK",
"BIZ_SERVICE_DELIVER"
]
},
"least_cost": 1000,
"reduce_cost": 100
}
}
}
创建投放二维码的json:
{
"action_name": "QR_CARD",
"expire_seconds": 1800,
"action_info": {
"card": {
"card_id": "p-ssM1j3CulgipvH6Lk7qePNIvTc",
"is_unique_code": false
}
}
}
创建投放二维码报的错误:
{
"errcode": 40078,
"errmsg": "invalid card status hint: [DC9rDa06205663]"
}
您好,这两个字段也需要写: