请求url:https://api.weixin.qq.com/card/invoice/insert?access_token={{access_token}}
请求参数:
{
"order_id": "24790001",
"card_id": "p74fFuB5Y4FROyIpj_CnDCf8RFVI",
"appid": "wx486c34e1d3ff54d6",
"card_ext": {
"nonce_str": "2232212",
"user_card": {
"invoice_user_data": {
"info": [
{
"price": 100,
"num": 1,
"name": "牙膏",
"unit": "个"
}
],
"fee": 100,
"title": "xx公司",
"billing_time": 1514516595,
"billing_no": "011001600111",
"billing_code": "09001131",
"tax": 3,
"fee_without_tax": 97,
"s_pdf_media_id ": "73338439723909664",
"check_code":"123"
}
}
}
}
返回内容:
{
"errcode": 72031,
"errmsg": "invalid params hint: [DW9w_a0971e264]"
}
文档地址:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1497082828_r1cI2
文档标题:将电子发票卡券插入用户卡包
疑问:文档中有提到check_code为必填字段,请问下check_code是从哪里来。onShareAppMessage的imageUrl值为空时有几率出现分享无截图。
微信小程序开发相关问题解答;本文来自微信小程序工厂 http://www.xcxgc.com 转载请保留。
本文网址:http://www.91bianli.com/kaifazhinan/72635.html