用 JSON_UNESCAPED_UNICODE json_encode($arr,JSON_UNESCAPED_UNICODE)
公众号微信卡券创建会员卡接口错误信息提示模糊不清?1、创建会员卡接口HTTP请求方式: POSTURL:https://api.weixin.qq.com/card/create?access_token=ACCESS_TOKEN post数据如下: { "card": { "card_type": "MEMBER_CARD", "member_card": { "background_pic_url": "http://mmbiz.qpic.cn/mmbiz_png/ibeQcclgN4X0Ivicwdrs6vHibj6TtiaS7CPzvNhKnIBJ55js9GaoXEA4sh4aoKSZcSavxuuq5RnaVTc09w1zBEbSjg/0", "base_info": { "logo_url": "http://mmbiz.qpic.cn/mmbiz_jpg/ibeQcclgN4X0Ivicwdrs6vHibj6TtiaS7CPzIFtsdfLvY8O1iafWPVCweVTCVK6lWl6ricDUGnNib11JnZT5Sv12mAQgg/0", "code_type": "CODE_TYPE_TEXT", "pay_info": { "swipe_card": { "is_swipe_card": true } }, "brand_name": "乐墨测试", "title": "会员卡", "color": "Color010", "notice": "卡券的领取规则", "description": "普卡会员:\n银卡会员:\nV4:\n钻石:\n星耀:\n", "sku": { "quantity": 100000000 }, "get_limit": 1, "use_custom_code": false, "can_give_friend": true, "date_info": { "type": "DATE_TYPE_PERMANENT" }, "custom_url_name": "快速买单", "custom_url_sub_title": "立即进入", "custom_app_brand_user_name": "gh_7e9787cd2ef1@app", "custom_app_brand_pass": "/pages/tabSon/me/payment/main", "promotion_url_name": "优惠券", "promotion_url_sub_title": "大额优惠券等你拿", "promotion_app_brand_user_name": "gh_7e9787cd2ef1@app", "promotion_app_brand_pass": "/pages/tabMain/pages/tab/coupons/main", "need_push_on_view": false }, "prerogative": "卡券的领取规则", "auto_activate": false, "supply_bonus": false, "supply_balance": true, "balance_app_brand_user_name": "gh_7e9787cd2ef1@app", "balance_app_brand_pass": "/pages/tabSon/me/balance/main", "custom_field1": { "name_type": "FIELD_NAME_TYPE_COUPON", "app_brand_user_name": "gh_7e9787cd2ef1@app", "app_brand_pass": "/pages/tabSon/me/card/coupons/main" }, "custom_field2": { "name_type": "FIELD_NAME_TYPE_LEVEL", "app_brand_user_name": "gh_7e9787cd2ef1@app", "app_brand_pass": "/pages/tabSon/me/card/cardDetail/main" }, "custom_cell1": { "name": "会员卡详情", "tips": "立即进入", "url": "http://www.example.com", "app_brand_user_name": "gh_7e9787cd2ef1@app", "app_brand_pass": "/pages/tabSon/me/card/cardDetail/main" } } } } 返回错误: { "errcode": 41011, "errmsg": "missing required fields! please check document and request json! hint: [4_ej_0703e108]" } 反复对比接口文档必填参数,没有发现差异性,不知道是哪个参数出问题,错误信息提示的也不确切,希望官方给一个说法。
2020-12-17要在商户支付平台里面增加微信公众号的appid关联,关联上了才再来掉这个接口
开通微信支付礼品卡权限按照微信礼品卡文档 8.1的接口申请开通微信支付礼品卡权限 所有条件都满足 一直返回的系统繁忙 微信公众号appid :wxafa650838373ed8b 子商户号sub_mch_id:1491164822 调用接口:https://api.weixin.qq.com/card/giftcard/pay/whitelist/add?access_token=TOKEN 调用时间: 2018.8.11 12:10:00 返回结果:{"errcode":-1,"errmsg":"system error hint: [g29GLa06790734]"} 希望官方能帮忙查看一下 很紧急
2020-12-16