json数据格式正确,报47001错误.
发布于 6 年前 作者 yan60 10356 次浏览 来自 官方Issues

https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Create_a_membership_card.html

报错内容:

data format error hint: [168wCA0473r280] Error before ":“测试”,“color”:“Color010”,“notice”:“消费前请出示优惠券”,“description”:“测试”,“get_limit”: 1,"date_in…解析JSON/XML内容错误错误号:47001

JSON数据:

{

“card_id”: “pnj8KxFrBZ7h_TjgGeqpxXRBG02w”,

“cash”: {

“base_info”: {

“logo_url”: “https://mmbiz.qpic.cn/mmbiz_png/qNlnKdFmrNNWRvpR5x76zp5cWS1JTDuGiaZMxjhfhOXIB8BXblyE78rWGBic0VVbzxjdEecMdHLVLDkxZqd9GpOg/0?wx_fmt=png”,

“code_type”: “CODE_TYPE_QRCODE”,

“title”: “满300减50”,

“sub_title”: “测试”,

“color”: “Color010”,

“notice”: “消费前请出示优惠券”,

“description”: “测试”,

“get_limit”: 1,

“date_info”: {

“type”: “DATE_TYPE_FIX_TERM”,

“fixed_term”: 180,

“fixed_begin_term”: 0

},

“service_phone”: “0713-8388797”,

“use_custom_code”: false,

“use_all_locations”: true,

“location_id_list”: [],

“can_give_friend”: true,

“can_share”: true

},

“advanced_info”: {

“use_condition”: {

“can_use_with_other_discount”: false

},

“business_service”: [“BIZ_SERVICE_FREE_WIFI”, “BIZ_SERVICE_FREE_PARK”],

“share_friends”: false

},

“least_cost”: 30000,

“reduce_cost”: 500

}

}

1 回复

你好,支付、卡券相关的问题请移步至微信支付专区https://developers.weixin.qq.com/community/pay提问,我们会有对应同学来处理。

回到顶部