这个接口一直在使用没什么问题。 最近也没改动,用户却出现了以下报错。
返回:
{\"errcode\":40071,\"errmsg\":\"invalid card type hint: [PrSe40954r245]\"}"
参数:
{
"card": {
"card_type": "MEMBER_CARD",
"member_card": {
"background_pic_url": "这里替换成示例的数据",
"base_info": {
"logo_url": "这里替换成示例的数据",
"brand_name": "这里替换成示例的数据",
"code_type": "CODE_TYPE_QRCODE",
"title": "会员卡",
"sub_title": null,
"color": "Color010",
"notice": "这里替换成示例的数据",
"description": "这里替换成示例的数据",
"date_info": {
"type": "DATE_TYPE_FIX_TIME_RANGE",
"begin_timestamp": 1590130285,
"end_timestamp": 1684738285,
"fixed_term": null,
"fixed_begin_term": null
},
"sku": {
"quantity": 100000000
},
"use_custom_code": true,
"bind_openid": null,
"service_phone": null,
"location_id_list": null,
"use_all_locations": true,
"center_title": "这里替换成示例的数据",
"center_sub_title": "这里替换成示例的数据",
"center_url": "这里替换成示例的数据",
"custom_app_brand_user_name": null,
"custom_app_brand_pass": null,
"center_app_brand_user_name": null,
"center_app_brand_pass": null,
"custom_url_name": "充值",
"custom_url": "这里替换成示例的数据",
"custom_url_sub_title": "这里替换成示例的数据",
"promotion_url_name": "",
"promotion_url": "",
"promotion_app_brand_pass": null,
"promotion_app_brand_user_name": null,
"promotion_url_sub_title": "",
"get_limit": 1,
"can_share": false,
"can_give_friend": false,
"source": "",
"need_push_on_view": false,
"pay_info": null,
"is_pay_and_qrcode": null,
"use_dynamic_code": false
},
"prerogative": "这里替换成示例的数据",
"auto_activate": false,
"wx_activate": true,
"wx_activate_after_submit": true,
"wx_activate_after_submit_url": "这里替换成示例的数据",
"supply_bonus": false,
"bonus_url": null,
"supply_balance": false,
"balance_url": null,
"custom_field1": {
"name_type": "FIELD_NAME_TYPE_LEVEL",
"name": "这里替换成示例的数据",
"app_brand_user_name": null,
"app_brand_pass": null,
"url": "这里替换成示例的数据"
},
"custom_field2": {
"name_type": "FIELD_NAME_TYPE_LEVEL",
"name": "这里替换成示例的数据",
"app_brand_user_name": null,
"app_brand_pass": null,
"url": "这里替换成示例的数据"
},
"custom_field3": {
"name_type": "FIELD_NAME_TYPE_LEVEL",
"name": "这里替换成示例的数据",
"app_brand_user_name": null,
"app_brand_pass": null,
"url": "这里替换成示例的数据"
},
"bonus_cleared": null,
"bonus_rules": null,
"balance_rules": null,
"activate_url": "",
"custom_cell1": {
"name": "",
"tips": null,
"url": "",
"app_brand_user_name": null,
"app_brand_pass": null
},
"custom_cell2": {
"name": "",
"tips": null,
"url": "",
"app_brand_user_name": null,
"app_brand_pass": null
},
"bonus_rule": null,
"discount": null
}
}
}
检查一下你得传参。