电子发票获取授权页出现的情况.
电子发票获取授权页出现的情况.?出现以下情况int(72063) ["errmsg"]=> string(69) "biz contact is empty, set contact first please hint: [Ekjbta0462ld42]" }
2020-04-09写在php服务器内,php通过HTTP API调用,谢谢!
Collection.watch(options: Object) 在HTTP API端能用吗?Collection.watch(options: Object) 在HTTP API端能用吗?
2019-11-29是否能提供一个案例看一下,谢谢!
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谢谢!
微信小程序支付成功,没有回调请教 ,微信小程序支付成功,如果不点击完成,就没有回调。如果点击完成,有回调(errMsg:"requestPayment:ok")。 如果用户不点击完成,如果知道支成功。谢谢! 如果用complete,长时间返回或点击完成会出现: requestfail {errMsg: "requestPayment:fail Error: connect ECONNREFUSED 101.226.212.191:443"} order.js? [sm]:248 complete requestPayment:fail Error: connect ECONNREFUSED 101.226.212.191:443 为什么支付一定要返回或点击完成才能回调,有没有别的办法解决,谢谢!
2019-01-02感谢!
模板消息测试正常,上传后并上线后收不到模板消息用PHP写的。 echo "test"; $openid=$_GET["openid"]; $formId=$_GET["formId"]; $tableIndex=$_GET["tableIndex"]; $details=$_GET["details"]; $total=$_GET["total"]; $time=$_GET["time"]; $beizhu=$_GET["beizhu"]; $templateId="NDiqxPSdvpW8w7mWNbaZH18T8ihNjrzW7oby5t7IOmo"; $data=<<<EOT { "touser": "{$openid}", "template_id": "{$templateId}", "page": "index", "form_id": "{$formId}", "data": { "keyword1": { "value": "{$time}" }, "keyword2": { "value": "{$tableIndex}" }, "keyword3": { "value": "{$details}" } , "keyword4": { "value": "{$total}" }, "keyword5": { "value": "{$beizhu}" } }, "emphasis_keyword": "keyword4.DATA" } EOT; function httpPost($data,$url){ $ch=curl_init(); 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_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,$data); curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); $tmpInfo=curl_exec($ch); if(curl_errno($ch)){ return curl_errno($ch); } curl_close($ch); return $tmpInfo; echo $tmpInfo; } function httpGet($url) { $curl = curl_init(); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_TIMEOUT, 500); // 为保证第三方服务器与微信服务器之间数据传输的安全性,所有微信接口采用https方式调用,必须使用下面2行代码打开ssl安全校验。 // 如果在部署过程中代码在此处验证失败,请到 http://curl.haxx.se/ca/cacert.pem 下载新的证书判别文件。 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, true); curl_setopt($curl, CURLOPT_URL, $url); $res = curl_exec($curl); curl_close($curl); return $res; } $appid = $secret= $gettoken="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={$appid}&secret={$secret}"; $result=httpGet($gettoken); $arr=json_decode($result,true); $token=$arr["access_token"]; $templateApi="https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token={$token}"; $res=httpPost($data,$templateApi); ?>
2018-10-17