不如你打印下请求的json? tips:你现在传入的openid是6asd****df87
物流助手logistics.addOrder 47003?{"errcode":40003,"errmsg":"invalid openid rid: 5fb62d96-313b33f2-68b54927"} openid无效 请求参数 {"add_source":0,"biz_id":"0","cargo":{"space_y":1,"space_z":1,"detail_list":[{"name":"测试商品4","count":4}],"count":1,"weight":1.0,"space_x":1},"delivery_id":"YTO","expect_time":1605783116,"insured":{"use_insured":0,"insured_value":0},"openid":"o6jg641Z8d6CTLZCij4LYzx1-tOg","order_id":"1","receiver":{"area":"","address":"","province":"","city":""},"sender":{"area":"111111","country":"11111","address":"1111","province":"1111","city":"1111","post_code":"11111","name":"测试","mobile":"111111","company":"11111"},"service":{"service_type":0,"service_name":"普通快递"},"shop":{"goods_name":"测试商品4","img_url":"img_url","wxa_path":"wxa_path","goods_count":4}} openid通过接口获取的,直接用就无效了
2020-11-19仔细对照下文档哈。 是template_id,不是templateId。
小程序订阅消息问题?请求参数:{"data":"{\"time3\":{\"value\":\"2020年11月14日 00:00\"},\"thing2\":{\"value\":\"*****测试004\"},\"thing4\":{},\"time7\":{\"value\":\"2020年11月13日 15:42\"}}","templateId":"YJ8vrqw08rZoH1**********s6hZjuymKgBwU","touser":"o89a15G**********SklSN50Q"} 返回参数:{"errcode":40037,"errmsg":"invalid template_id rid: 5fae3a30-02167c9f-1d3f5ad6"} 确认了templateId是正确的啊,为啥啊???
2020-11-13rid是用Request ID,用于排查问题的。 具体你这一次失败,是因为请求的Josn中没有template_id字段。 tips:你传的是“templateId”,并且没有传正确的data结构。
小程序订阅消息返回40037,还有个rid是什么?{"errcode":40037,"errmsg":"invalid template_id rid: 5fadf892-0026eb0b-2c3d443d"}
2020-11-13请问你是在哪个地区的?DNS解析出来是127.0.0.1,应该是有问题。
生成的mmbizurl.cn 短网址老是无法访问?生成的mmbizurl.cn 短网址老是无法访问, 而且ping IP是127.0.0.1 这个问题在晚上会频繁出现!我的好多用户都反应这个问题,[图片]
2020-11-11看日志好像本次关注请求不是来自扫码。 比如11-4号16:52:54,有一次关注。扫码场景值是“gift_1298439407299280897_1000.00”,事件中是有EventKey的。
公众号生成临时二维码,回调参数EventKey没有值?【请求地址】: https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=38_E1tuvxvJvLtUiNL7xSbFtH1dAhoEquWeN0lS82W7q5JBYz3trOZlD3Zbw_x_6yigzvKsBhFAvjPZkE1R1m7G46F1FNZlqt-rlBRqnvIvIlp8MKyUIETRdyn3L9jAJWxHGxIIrHUYv_6XOw0bTQEcAEDEBP 【请求参数】:{"action_name":"QR_STR_SCENE","expire_seconds":10800,"action_info":{"scene":{"scene_str":"gift_1298439407299280897"}}} 【响应数据】:{"ticket":"gQEw8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyWkFTcmgyNDRkMjAxTEJ2dzF2Y1gAAgS1taBfAwQwKgAA","expire_seconds":10800,"url":"http:\/\/weixin.qq.com\/q\/02ZASrh244d201LBvw1vcX"} 回调参数如下: {"allFieldsMap":{"CreateTime":"1604367805","EventKey":"","Event":"subscribe","ToUserName":"gh_23f2d6a925d5","FromUserName":"oBERCwMXSsoM612rWNOnPKok14Wk","MsgType":"event"},"createTime":"1604367805","event":"subscribe","eventKey":"","fromUser":"oBERCwMXSsoM612rWNOnPKok14Wk","hardWare":{},"msgType":"event","scanCodeInfo":{},"sendLocationInfo":{},"sendPicsInfo":{"picList":[]},"toUser":"gh_23f2d6a925d5"}
2020-11-05确实会包含连续的减号。SQL中连续减号加一个空格,才是注释的意思。 openid是遵循URL and Filename Safe来编码的,详见链接 可能你需要替换/升级一下防SQL注入的库。
openid中为啥要包含'--'?openid规则中可能会出现‘--’,但是一般的防sql注入的组件会过滤掉'--',导致查询失败。
2020-11-04access_token每天只能调用2000次。
公众号报错,什么原因?reach max api daily quota limit rid: 5f公众号调用 用户信息报错:Request access_token fail: {"errcode":45009,"errmsg":"reach max api daily quota limit rid: 5f9fa45e-406cc3e2-135b88ce $wechatConfig = [ 'app_id' => 'wx54b86176e1f920ad', 'secret' => '92c858d807d68f1a1ce85f8d48326051', 'response_type' => 'array', 'log' => [ 'level' => 'debug', 'file' => DOCROOT . '/log/wechat.log', ], ]; $newapp = Factory::officialAccount($wechatConfig); $res3 = $newapp->user->list();这里总是报错 报错提示: { "status": 500, "msg": "exception.EasyWeChat\Kernel\Exceptions\HttpException", "exception": "Request access_token fail: {"errcode":45009,"errmsg":"reach max api daily quota limit rid: 5f9fa45e-406cc3e2-135b88ce"};\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/Kernel\/AccessToken.php 第171行;追溯:\n1.\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/Kernel\/AccessToken.php 第114行:EasyWeChat\Kernel\AccessToken->requestToken;\n2.\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/Kernel\/AccessToken.php 第235行:EasyWeChat\Kernel\AccessToken->getToken;\n3.\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/Kernel\/AccessToken.php 第192行:EasyWeChat\Kernel\AccessToken->getQuery;\n4.\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/Kernel\/BaseClient.php 第228行:EasyWeChat\Kernel\AccessToken->applyToRequest;\n5.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/RetryMiddleware.php 第67行:EasyWeChat\Kernel\BaseClient->EasyWeChat\Kernel\{closure};\n6.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/PrepareBodyMiddleware.php 第66行:GuzzleHttp\RetryMiddleware->__invoke;\n7.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/Middleware.php 第30行:GuzzleHttp\PrepareBodyMiddleware->__invoke;\n8.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/RedirectMiddleware.php 第70行:GuzzleHttp\Middleware::GuzzleHttp\{closure};\n9.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/Middleware.php 第59行:GuzzleHttp\RedirectMiddleware->__invoke;\n10.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/HandlerStack.php 第67行:GuzzleHttp\Middleware::GuzzleHttp\{closure};\n11.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/Client.php 第277行:GuzzleHttp\HandlerStack->__invoke;\n12.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/Client.php 第125行:GuzzleHttp\Client->transfer;\n13.\/var\/www\/test.aysk.com\/vendor\/guzzlehttp\/guzzle\/src\/Client.php 第131行:GuzzleHttp\Client->requestAsync;\n14.\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/Kernel\/Traits\/HasHttpRequests.php 第150行:GuzzleHttp\Client->request;\n15.\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/Kernel\/BaseClient.php 第172行:EasyWeChat\Kernel\BaseClient->performRequest;\n16.\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/Kernel\/BaseClient.php 第103行:EasyWeChat\Kernel\BaseClient->request;\n17.\/var\/www\/test.aysk.com\/vendor\/overtrue\/wechat\/src\/OfficialAccount\/TemplateMessage\/Client.php 第127行:EasyWeChat\Kernel\BaseClient->httpPostJson;\n18.\/var\/www\/test.aysk.com\/services\/professional\/elevator\/elevator.php 第273行:EasyWeChat\OfficialAccount\TemplateMessage\Client->send;\n19.\/var\/www\/test.aysk.com\/framework\/base\/service.php 第224行:Services\Professional\Elevator\Elevator->sendTemplateMessage;\n20.\/var\/www\/test.aysk.com\/controller\/restapi\/professional\/weapp\/maintenance.php 第284行:Service->__call;\n21.\/var\/www\/test.aysk.com\/controller\/restapi\/professional\/weapp\/maintenance.php 第77行:Controller\Restapi\Professional\Weapp\Maintenance->addInfo;\n22.\/var\/www\/test.aysk.com\/framework\/route\/dispatch.php 第125行:Controller\Restapi\Professional\Weapp\Maintenance->actionPOST;\n23.\/var\/www\/test.aysk.com\/framework\/route\/dispatch.php 第55行:Framework\Route\Dispatch::_dispatch;\n24.\/var\/www\/test.aysk.com\/public\/index.php 第8行:Framework\Route\Dispatch::run;" }
2020-11-03要配置IP白名单。
componenttoken接口报access clientip isnot registered?你好: 我们在调https://api.weixin.qq.com/cgi-bin/component/api_component_token接口的时候,一直报错,错误信息如下: {"errcode":61004,"errmsg":"access clientip is not registered requestIP: 106.12.12.30 rid: 5f9b8f0d-25dabd3d-23cb1a46"} 辛苦关注。谢谢
2020-10-30是bug,修复中。预计今天可以修完。
符合二维码跳转规则的短链接二维码无法跳转完成后开发者可将二维码跳转规则发布现网,发布后扫描所有符合匹配规则的二维码,将跳转至指定的小程序页面。 将后台接口的地址生成为短链接,然后将短链接生成二维码,之前用的https://w.url.cn域名下的短链接,是能够正常跳转的,后来官方改用了https://mmbizurl.cn,再生成的二维码就无法跳转了,只是微信浏览器打开了短链接所指向的长链接地址。两个短链接所指向的长链接都是一个借口;
2020-10-30麻烦重试一下。检查ICP的服务有一些问题。
发一次性订阅消息报错 need icp license for the url domain?发一次性订阅消息报错: need icp license for the url domain rid: 5f994f8b-39c2a624-49829211 跳转链接域名用的是,微信官方的短链接地址:https://mmbizurl.cn/s/LJBgL7jxp,你们自己的域名也没备案么?还有我们自己的域名也同样报名,麻烦一起看看:womaijia360.net 经工信部官网查询:https://beian.miit.gov.cn/#/Integrated/recordQuery mmbizurl.cn 对应备案号是:粤B2-20090059-1032 womaijia360.net 对应备案号是:渝ICP备19016572号-9 appid: wx560636fcd4e90c7a
2020-10-29