那就打开调试模式呗,还不想打开调试,还想请求,那就配置合法域名并配置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不需要的
小程序备案的主体,需要和服务器域名备案的主体一致吗?小程序备案的主体,需要和开发管理->服务器域名、业务域名备案的主体一致吗?
03-18实名认证接口目前已经不支持申请了。 或者让用户填写姓名,身份证号等信息调用三方的验证,但是这种可能会被判定收集用户敏感信息 目前可用的是 人脸识别,可以参考https://developers.weixin.qq.com/community/business/doc/000442d352c1202bd498ecb105c00d
开发一个微信小程序时,用户注册账户时,需实名认证,希望通过调用用户微信支付的实名认证信息,是否可行?开发一个微信小程序时,用户注册账户时,需要实名认证,希望通过调用用户微信支付的实名认证信息,是否可行,如果可行,是不是,每次都收费?收费多少,谢谢!!!
03-18data格式不对 [图片]
如何解决"发送订阅消息" 报错 "argument invalid! data.characte"?# 请求参数: { "data": "{\"character_string1\":{\"value\":\"BATTERY-100000001\"},\"character_string2\":{\"value\":\"19%\"},\"character_string6\":{\"value\":\"1231100121\"},\"thing3\":{\"value\":\"当前电量较低,请及时充电\"},\"time4\":{\"value\":\"2023-05-08 11:09:30\"}}", "lang": "zh_CN", "miniprogram_state": "developer", "template_id": "xxxxxx", "touser": "xxxxx" } # 响应结果 { "errcode": 47003, "errmsg": "argument invalid! data.character_string1.value i rid: 67d92a6b-2040fd7e-06fb5956", } 调用失败截图: [图片]
03-18