收藏
回答

json数据格式正确,报47001错误.

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 个回答

登录 后发表内容
问题标签