这帮人全靠心情,全靠个人意愿。
这审核人员是瞎子吗?[图片] 图片上传了,场景描述了就是不通过,小程序分类的外卖配送都审核通过了,getLocation接口就是一直审核不过,审核人员是nz有问题吗?都说了设计配送服务,tm的就是不通过,rz一样
2023-03-29我这边也不能正常使用
小程序无法正常使用,后台出现错误内容?以下为小程序后台出现的错误内容,请问如何解决? Cannot read property 'avatar' of undefined TypeError: Cannot read property 'avatar' of undefined at success (https://miniprogram:///pages/index/index.js:208:55) at Function.i.<computed> (https://lib/WASubContext.js:2:1837671) at https://lib/WASubContext.js:2:112384 at d (https://lib/WASubContext.js:2:467131) at Function.<anonymous> (https://lib/WASubContext.js:2:629975) at https://lib/WASubContext.js:2:112384 at https://lib/WASubContext.js:2:604669
2020-11-17[图片]
如何去定位这个错误?TypeError TypeError: undefined is not an object (evaluating 'document.getElementsByTagName') at (app-service.js:4688:92069) at (app-service.js:4688:93214) at require (WASubContext.js:2:1969748) at global code (app-service.js:4689:17) at (native code) at value (WAServiceMainContext.js:2:149711) at (WAServiceMainContext.js:2:152285) at forEach (native code) at (WAServiceMainContext.js:2:152252) at h (WAServiceMainContext.js:2:81696) at g (WAServiceMainContext.js:2:81946) at a (WAServiceMainContext.js:2:151377) at (WAServiceMainContext.js:2:152826) at (WAServiceMainContext.js:2:143227) at (WAServiceMainContext.js:2:252538) at (WAServiceMainContext.js:2:251506) at forEach (native code) at (WAServiceMainContext.js:2:251470) at (WAServiceMainContext.js:2:252538) at _ (WAServiceMainContext.js:2:78183) global code 第一次上传体验版本,页面空白打不开,在真机模式下是正常的。查看后台日志为以上内容。
2020-08-03贴一下后端代码(PHP): $appid = '******'; $secret = '******'; $code = $params['code']; $encryptedData = $params['encryptedData']; $iv = $params['iv']; $url = 'https://api.weixin.qq.com/sns/jscode2session?appid='.$appid.'&secret='.$secret.'&js_code='.$code.'&grant_type=authorization_code'; $res = curl_get($url); $res = json_decode($res, true); $openid = $res['openid']; $sessionKey = $res['session_key']; $pc = new \wxApp\WXBizDataCrypt($appid, $sessionKey); $errCode = $pc->decryptData($encryptedData, $iv, $data);
关于获取手机号,解密失败的问题?逻辑顺序: 1,当用户点击授权手机号后,使用 wx.login 方法请求登录接口。 2,在后端获取 sessionKey 后,进行解密。 但是解密结果一直失败。求助大佬 -_-
2020-07-07