- 创建发票卡券模板72031invalid params, payee is empty hint?
创建发票卡券模板出现72031invalid params, payee is empty hint‘。 url = "https://api.weixin.qq.com/card/invoice/platform/createcard?access_token={$token}"; { "invoice_info": { "base_info": { "logo_url": "http://mmbiz.qpic.cn/mmbiz/iaL1LJM1mF9aRKPZJkmG8xXhiaHqkKSVMMWeN3hLut7X7hicFNjakmxibMLGWpXrEXB33367o7zHN0CwngnQY7zb7g/0", "title": "xx公司", "custom_url_name": "xyz", "custom_url": "xyz", "custom_url_sub_title": "xyz", "promotion_url_name": "puname", "promotion_url": "purl", "promotion_url_sub_title": "ptitle", }, "type": " 广东省增值税普通发票 ", "payee": " 测试 - 收款方 ", } } post后出现array(2) { ["errcode"]=> int(72031) ["errmsg"]=> string(53) "invalid params, payee is empty hint: [2QwzUA0988ld64]" }
2020-05-07 - 电子发票获取授权页出现的情况.?出现以下情况
int(72063) ["errmsg"]=> string(69) "biz contact is empty, set contact first please hint: [Ekjbta0462ld42]" }
2020-04-09 - 无法获取s_pappid?已经开通电子发票
APPIDwx778804e73c086080 <?php 获取$access_token正常 url="https://api.weixin.qq.com/card/invoice/seturl?access_token=".$access_token; $jsonStr='{}'; http_post_num($url, $jsonStr) function http_post_num($url, $jsonStr) { $ch = curl_init(); $header =array("Content-type:application/json;charset='utf-8'","Accept:application/json"); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_HTTPHEADER,$header); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0)'); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_AUTOREFERER, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $jsonStr); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); echo $response; curl_close($ch); return $response; } ?> {"errcode":48001,"errmsg":"api unauthorized hint: [ng2eIA0962ld64]"}
2020-04-08 - Date 的方法setHours()小程序能用吗?
var d = new Date(); d.setHours(3); d.setMinutes() 我在小程序试了一下不能用。
2019-12-09 - invokeCloudFunction HTTP API 途径触发云函数?
[代码] [代码] [代码]HTTP API 途径触发云函数[代码] [代码]curl -d '{}' \[代码] [代码]'https://api.weixin.qq.com/tcb/invokecloudfunction?access_token=ACCESS_TOKEN&env=ENV&name=login'[代码] 能否写案例供参考,谢谢!
2019-12-07 - HTTP API 中能否使用_.lt?
HTTP API 中能否使用_.lt,如何使用,例如用php写,谢谢!
2019-12-06 - Collection.watch(options: Object) 在HTTP API端能用吗?
Collection.watch(options: Object) 在HTTP API端能用吗?
2019-11-29 - HTTP API 能使用Collection.watch 吗?
HTTP API能使用 Collection.watch / Query.watch吗?谢谢!
2019-11-09 - http api orderBy不能用
- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo [代码] "query": "db.collection(\"geo\").where({done:true}).limit(10).skip(1).get()"加入orderBy[代码] [代码]"query": "db.collection(\"unorderList\").where({numberid:1001}).orderBy(\'_id\',\'asc\').limit(20).skip(1).get()"[代码] [代码]出现:object(stdClass)#3 (2) [代码] [代码]{ ["errcode"]=> int(0) ["errmsg"]=> string(133) "Query sort entered in the request is illegal. Please check your request, but if the problem persists, contact us. hint: [Af908292028]" }[代码]
2019-05-27 - 使用云函数如何分包
请教使用云函数如何分包下载,谢谢!
2019-04-10