- 更改卡券信息接口为什么提交自定义会员信息类目三个时就会报错?
接口地址: https://api.weixin.qq.com/card/update?access_token=TOKEN 文档地址:https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html#4 文档里面写支持三个自定义会员信息类目. 我提交的数据: { "card_id": "card_iddddddddddfffffffff", "member_card": { "bonus_rules": "积分的使用规则请查看会员卡详情", "balance_rules": "支持预充值后消费.", "base_info": { "code_type": "CODE_TYPE_BARCODE", "color": "Color010", "notice": "消费前请出未会员卡", "description": "积分不支持兑换现金.", "get_limit": 1, "date_info": { "type": "DATE_TYPE_FIX_TERM", "fixed_term": 30, "fixed_begin_term": 0 }, "location_id_list": [], "can_give_friend": true, "can_share": true}, "custom_field1": { "name_type": "FIELD_NAME_TYPE_LEVEL", "url": "" }, "custom_field2": { "name": "自定义1", "url": "" }, "custom_field3": { "name": "自定义2", "url": "" } } } 返回的错误: {"errcode":40124,"errmsg":"too many custom field! hint: [gQ09qa07525676]"}Ug@ww9l\Kay
2019-11-02 - 公众号:会员卡激活表单字段中没有设置post_code,但是它总能返回两个post_code的字段
我按照接口文档的要求上传了表单字段.https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Create_a_membership_card.html 提交的字段里没有填写过post_code,但是每一种卡都会返回两个post_code, 这是接口的BUG吧? {"common_field_list":[ {"name":"USER_FORM_INFO_FLAG_POST_CODE","value":"350004","value_list":[]}, {"name":"USER_FORM_INFO_FLAG_MOBILE","value":"13012345678","value_list":[]}, {"name":"USER_FORM_INFO_FLAG_POST_CODE","value":"350004","value_list":[]}, {"name":"USER_FORM_INFO_FLAG_SEX","value":"男","value_list":[]}, {"name":"USER_FORM_INFO_FLAG_BIRTHDAY","value":"2018-8-4","value_list":[]}, {"name":"USER_FORM_INFO_FLAG_DETAIL_LOCATION","value":"福建省-福州市-","value_list":[]}, {"name":"USER_FORM_INFO_FLAG_HABIT","value":"游戏","value_list":[]}, {"name":"USER_FORM_INFO_FLAG_NAME","value":"李先生","value_list":[]}]
2019-11-02