大概率是 参与签名的URL和页面实际完整URL不一致 [图片]
wx.config为什么一直报config:invalid signature?我的部分代码如下: let tempData = response.data.data wx.config({ debug: true, appId: 'wxXXXXXXXXX0639', timestamp: tempData.timestamp, nonceStr: tempData.noncestr, signature: tempData.signature, jsApiList: ['chooseImage'], }) wx.error(function (err) { Toast('配置失败') }) wx.ready(() => { Toast('微信配置成功') }) 其中的tempData是后端接口返回的数据,为什么一直报config:invalid signature
04-21小程序不用授权手机号功能就不收费了。公众号也没有授权手机号功能啊
手机号快速验证组件这个套餐,为啥在小程序收取了一次费用,公众号还要再收款一次费用?客户只需要关注我们的公众号,为啥小程序还需要购买这个手机号快速验证套餐?
04-21订阅一次发送一次,没有订阅次数就发不了
一次性订阅消息是订阅一次就只只能发一次吗?我的业务场景是当用户提交表单咨询的时候,发送消息通知指定的管理员,但是我发现只能申请一次性订阅消息模板。
04-21那就打开调试模式呗,还不想打开调试,还想请求,那就配置合法域名并配置SSL证书呗
小程序体验版不开调试器无法登录,一直在提示登陆中,不想后端发请求,?const getphonenumber : UniHelper.ButtonOnGetphonenumber = async (ev) => { if (ev.detail.errMsg != "getPhoneNumber:ok") { uni.showToast({ icon: 'none', title: '参数错误', }) } else { await checkedAgreePrivacy() const { encryptedData, iv } = ev.detail const res = await wx.login() uni.showLoading({ title: '正在登录...' }) const { send: sendAuthBindPhone } = useRequest(authBindPhone, { immediate: false }); sendAuthBindPhone({ phoneCode: ev.detail.code, key: authKey.value, encryptedData: encryptedData, iv: iv, code: res.code }).then(async result => { useAuthStore().setToken(result.token); await useUserStore().setUserInfo(result) await useUserStore().getUserInfo() setTimeout(() => { uni.hideLoading(); loginSuccess(result); }) }) } }
03-25你能在百度的域名根目录放校验文件?域名写什么,校验文件就要放在对应域名的根目录
小程序业务域名增加不了,总是显示效验失败[图片]已经下载文件存放到我们后台指定根目录了,然后保存不了,总是效验失败,这是怎么回事
03-24设置 type 为 gcj02 试试
定位获取不准确,差了几公里https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getLocation.html wx.getLocation({ altitude: true, isHighAccuracy: true, success: function (location) { console.log('获取定位成功', location); that.setLatAndLng({ location: location, errCode: 0 }) that.setTime(() => { console.log('需要清除储存的定位'); that.setLatAndLng(false) }, 600000) resolve({ location: location, errCode: 0 }) },
03-24https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/mp-access-token/getAccessToken.html
敏感图片检测接口token怎么获取?https://developers.weixin.qq.com/miniprogram/dev/framework/security.imgSecCheck.html 该接口的请求参数中,access_token如何获取?点击“接口调用凭证”,跳转页面404了。
03-21不会收费
请问在微信小程序上,使用 video 组件,会收费么?(1)我在微信小程序上,使用video组件, 这个文档:https://developers.weixin.qq.com/miniprogram/dev/component/video.html ,会收费么? (2)如果收费,是如何收费的呢?
03-21配置合法 业务域名,域名要求是 https
webview内嵌h5 报错 ,但是 h5网页在外面是能访问的?单页面引入 <view> <web-view src="http://10.10.2.108:8080?vconsole=true"/> </view>
03-21有缓存的,大概两个小时左右
微信网页授权获取用户头像非最新头像通过网页授权查询用户头像的接口,在用户更换微信头像之后,获取的头像还是旧的。
03-20