创建一个领取后当天可用的卡券
{"card":{"card_type":"GENERAL_COUPON","general_coupon":{"base_info":{"logo_url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/mXhLOiakuw03p2z2x9zrbvOA9wgBgWRcrYHBaibicUGWJGlKItMAEDlJTz06uYuyXEnFG0I0ibyP9OfZDGeBKkmtpw\/0","brand_name":"Mall","code_type":"CODE_TYPE_QRCODE","title":"当天可用的停车券","color":"Color070","notice":"请出示二维码","service_phone":"18950008489","description":"adfasdf","date_info":{"type":"DATE_TYPE_FIX_TERM","fixed_term":0,"fixed_begin_term":0},"sku":{"quantity":100000000},"get_limit":10000,"use_custom_code":true,"bind_openid":false,"can_share":false,"can_give_friend":false},"default_detail":"到店出示使用"}}}
返回
{"errcode":41011,"errmsg":"missing required fields! please check document and request json! hint: [_7IopA03925676] base.date_info().fixed_term"}
但如果把fixed_term传入1,就创建成功了。
{"card":{"card_type":"GENERAL_COUPON","general_coupon":{"base_info":{"logo_url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/mXhLOiakuw03p2z2x9zrbvOA9wgBgWRcrYHBaibicUGWJGlKItMAEDlJTz06uYuyXEnFG0I0ibyP9OfZDGeBKkmtpw\/0","brand_name":"Mall","code_type":"CODE_TYPE_QRCODE","title":"当天可用的停车券","color":"Color070","notice":"请出示二维码","service_phone":"18950008489","description":"adfasdf","date_info":{"type":"DATE_TYPE_FIX_TERM","fixed_term":1,"fixed_begin_term":0},"sku":{"quantity":100000000},"get_limit":10000,"use_custom_code":true,"bind_openid":false,"can_share":false,"can_give_friend":false},"default_detail":"到店出示使用"}}}
{"errcode":0,"errmsg":"ok","card_id":"XXXXXXXXXXXXXXXX"}
文档里说
天真地上线了,然后被客户怼了。
我试了,也复现了此问题
加微信wepayts7,备注卡券问题解答
已经加过ts小哥哥,但是ts小哥哥好像不理我。
还是没回复:(
还没回复。