测试号上好好的,准备上线结果一换到正式号就不行了,尝试了网上各种方法都不行,然后在debug页面用官方自己的文档去测试都无法通过,求大神或者官方给一个能通过示例,急,急,急!在线等啊跪谢!!!代码如下:
{
"card": {
"card_type": "member_card",
"member_card": {
"background_pic_url": "http://mmbiz.qpic.cn/mmbiz_jpg/Ugs2iaVqM3aR85dCK0Xf2kUgIO4kZSjjDxQToVTCz4PDDiaQhUpWr9y3iaWSgUOAwPM2uM5B0y7F5oaPtH6zeSSPw/0",
"base_info": {
"logo_url": "http://mmbiz.qpic.cn/mmbiz_png/Ugs2iaVqM3aR85dCK0Xf2kUgIO4kZSjjD6icA5huyN0otq8EeAv7hIx1NRUib9caGdLibuSYoibCCuh95YMXfdiaGfcA/0",
"brand_name": "美容医院",
"code_type": "CODE_TYPE_BARCODE",
"title": "会员卡",
"color": "Color010",
"notice": "使用时向服务员出示此券",
"service_phone": "0888-88888888",
"description": "不可与其他优惠同享",
"date_info": {
"type": "DATE_TYPE_PERMANENT"
},
"sku": {
"quantity": 50000000
},
"get_limit": "1",
"can_share": false,
"use_custom_code": false,
"can_give_friend": false,
"custom_url_name": "领取停车减免劵",
"custom_url": "http://xxx",
"custom_url_sub_title": "更多停车减免劵",
"promotion_url_name": "会员绑定",
"promotion_url": "http://xxx/",
"need_push_on_view": false,
"pay_info": {
"swipe_card": {
"is_swipe_card": true
}
},
"is_pay_and_qrcode": true
},
"advanced_info": {
"use_condition": {
"accept_category": "医疗服务",
"reject_category": "医美",
"can_use_with_other_discount": false
},
"abstract": {
"abstract": "推出多种新季项目,期待您的光临",
"icon_url_list": [
]
},
"time_limit": [
{
"type": "MONDAY"
},
{
"type": "TUESDAY"
},
{
"type": "WEDNESDAY"
},
{
"type": "THURSDAY"
},
{
"type": "FRIDAY"
},
{
"type": "SATURDAY"
},
{
"type": "SUNDAY"
}
],
"business_service": [
"BIZ_SERVICE_FREE_WIFI"
]
},
"supply_bonus": true,
"supply_balance": false,
"prerogative": "我是特权卡使用说明,限制1024个汉字",
"custom_field1": {
"name_type": "FIELD_NAME_TYPE_LEVEL",
"url": ""
},
"custom_cell1": {
"name": "美上商城",
"tips": "优惠多多,快来抢购",
"url": "http://xxx.com"
},
"bonus_rule": {
"cost_money_unit": "100",
"increase_bonus": "1",
"max_increase_bonus": "200",
"init_increase_bonus": "10",
"cost_bonus_unit": "5",
"reduce_money": "100",
"least_money_to_use_bonus": "1000",
"max_reduce_bonus": "50"
},
"discount": "10",
"wx_activate": "1",
"wx_activate_after_submit": "1",
"wx_activate_after_submit_url": "http://xxx.php"
}
}
}
47001是json格式化异常,上postman截图吧
报错如下:
[errcode] => 47001
[errmsg] => data format error hint: [8sSjwa0897r221] Error before ","member_card":{"background_pic_url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Ugs2iaVqM3aR85dCK0Xf2kUgIO4kZSjjDxQToVTCz...