这个报错和权限集无关哈,如果是权限集的问题,应该是报错61007。 48001是当前这个账号没有发布能力接口的调用权限。 自2025年7月起,个人主体账号、企业主体未认证账号及不支持认证的账号将被回收发布能力相关接口的调用权限。 可以参考文档说明:https://developers.weixin.qq.com/doc/subscription/guide/product/publish.html [图片] 可参考文档:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/third_party_authority_instructions_troubleshooting.html [图片]
获取已发布的文章信息,权限集有:7,还是报:"errcode":48001?public static final String AUTHORIZER_FORUM_01 = "https://api.weixin.qq.com/cgi-bin/freepublish/batchget?access_token="; /** * 获取已发布图文信息列表 * 该接口所属的权限集 id 为:7 * @param map * @param authorizerAccessToken * @return */ public static JSONObject getAuthorizerForumList(Map<String,Object> map,String authorizerAccessToken) { String url = AUTHORIZER_FORUM_01 + authorizerAccessToken; JSONObject request = new JSONObject(); request.put("offset",Objects.isNull(map.get("offset")) ? 0 : map.get("offset")); request.put("count", Objects.isNull(map.get("count")) ? 10 : map.get("count")); request.put("no_content", Objects.isNull(map.get("noContent")) ? 1 :map.get("noContent")); return JSONUtil.parseObj(HttpClientUtil.doPostJson(url,request.toString())); } 调用post请求https://api.weixin.qq.com/cgi-bin/freepublish/batchget?access_token={authorizer_access_token} 请求体 {"offset":0,"count":10,"no_content":1} 响应体 {"errcode":48001,"errmsg":"api unauthorized hint: [cXweMa08277-13] rid: 687b6742-082202f6-0bce0444"} [图片] 授权回调保存的 [图片] 存在权限集7,说明有权调用该接口,为什么会返回 48001?
07-19目前只有这三个:scope.userLocation、scope.userLocationBackground、scope.userFuzzyLocation 需要在代码里面声明,其他的都不需要在代码里面声明:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/authorize.html#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9 [图片]
uniapp 无效的 app.json permission["scope.writePhoto“?无效的 app.json permission["scope.writePhotosAlbum"] [图片] [图片]
07-19查看到你的小程序用户隐私保护指引是没有声明 wx.chooseLocation 接口所用到的【收集你选择的位置信息】权限哈,因此报错 112 。你声明的是【收集你的位置信息】,这两个权限相差两个字。 [图片] [图片]
wx.chooseLocation 使用问题?小程序页面路径pages/abnormalLuggage/index/index-dhdx?isPay=1&APPID=MU110000110100PKX 我已经尝试解决了: 1.用户隐私保护指引我已经更新了。 [图片] 2.并且也加了如下的配置: [图片] "requiredPrivateInfos": [ "chooseLocation", "getLocation" ], "permission": { "scope.userLocation": { "desc": "你的位置信息将用于小程序定位" } }, 3.wx.chooseLocation 已开通。 [图片] 但是小程序上线后依然提示 {errMsg: "chooseLocation:fail api scope is not declared in the privacy agreement", errno: 112}这个问题不知道怎么解决。
07-19可以先自己排查下: 1、是否完成微信认证; 2、是否有在小程序代码里面定义转发处理函数。 转发给好友:https://developers.weixin.qq.com/miniprogram/dev/reference/api/Page.html#onShareAppMessage-Object-object [图片] 分享到朋友圈:https://developers.weixin.qq.com/miniprogram/dev/reference/api/Page.html#onShareTimeline [图片] 3、是否调用API隐藏了转发按钮:https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.hideShareMenu.html
为啥我小程序的转发给朋友和分享到朋友圈都是灰掉的,不能使用?我看其他小程序可以,是要自己添加代码设置这个分享功能吗?怎么设置?
07-18已不再返回 Recongnition 字段,可参考公告:https://developers.weixin.qq.com/community/minihome/doc/0004826962c5c81c0540cb9e365401
服务号-接口能力-接收语音识别结果 (已开启) 但是 服务端 接收到的结果信息仍为空https://developers.weixin.qq.com/doc/service/guide/product/message/Receiving_standard_messages.htmlhttps://developers.weixin.qq.com/doc/service/guide/product/message/Receiving_standard_messages.html 已经尝试了 取消关注,再关注。新用户 新关注,发送语音仍热是不返回识别结果。 等待24小时 再尝试,仍热不返回。 [图片] [图片]
07-18编辑界面点击下「新建消息」,一共可以有8篇文章。 [图片]
如何一次发表多篇文章?如题
07-18wx.getUserProfile 接口有调整,目前已经不能获取用户微信头像和昵称,默认返回的是灰色头像和“微信用户”,也没有授权弹窗了(除了旧版本微信[基础库版本低于2.27.1]和接口调整生效期前发布的小程序版本外),参考公告:https://developers.weixin.qq.com/community/develop/doc/00022c683e8a80b29bed2142b56c01 当前如果有头像和昵称获取的需要,只能让用户自己填写:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
微信小程序一键授权登录流程?微信用户等假数据<button v-if="!showPhoneLogin" @click="loginUserInfo" open-type="getPhoneNumber" @getphonenumber="handleWxLogin" class="login-btn wechat-btn" :disabled="!isAgreed"> 一键快捷登录 </button> const loginUserInfo = async () => { if (!checkAgreement()) return; const resProfile = await uni.getUserProfile({ desc: '用于完善会员资料' }) const resLogin = await uni.login({ provider: 'weixin' }) userInfoEncryptedData.value = resProfile.encryptedData userInfoCode.value = resLogin.code userInfoIv.value = resProfile.iv } const handleWxLogin = async (e) => { if (!checkAgreement()) return; if(!e.detail.errMsg) return if (e.detail.errMsg && e.detail.errMsg !== 'getPhoneNumber:ok') { return uni.showToast({ title: '授权失败', icon: 'none' }) } uni.login({ provider: 'weixin', success: (res) => { console.log(res,88) if (res.code) { let data = { code: res.code, iv: e.detail.iv, encryptedData: e.detail.encryptedData, userInfoEncryptedData: userInfoEncryptedData.value, userInfoCode: userInfoCode.value, userInfoIv: userInfoIv.value, } console.log(data, 66) apiLoginByWx(data).then((result) => { console.log(result, 7778) uni.showToast({ title: '登录成功', icon: 'success' }) loginSuccess(result) }).catch((err) => { uni.showToast({ title: err.message || '登录失败', icon: 'none' }) }) } }, fail: (err) => { uni.showToast({ title: err.message || '登录失败', icon: 'none' }) } }); }
07-18你当前创建的是【图片/文字合集】,你账号没有发表过【图片/文字】的内容,就显示暂无已发表内容。 [图片] 你应该选择创建【文章合集】。 [图片]
已发表文章想添加到合集,点击添加怎么看不到内容?[图片][图片]
07-18你的账号是可以正常搜索到的呀。 [图片] [图片] 你的账号类型是【服务号】,添加朋友这里要选择【服务号】才能搜索到,若选择【公众号】是搜不到的。 [图片][图片]
为什么在微信的公众号里完全搜索不到“车家万户”这个公众号了?公众号名称:车家万户 为什么在微信的公众号里完全搜索不到这个公众号了。
07-18出现已损坏的图片问题,可以使用最新版本的谷歌浏览器无痕模式进入,或者更换其他浏览器试试。
小程序年审图片损坏?一直跳图片损坏,只有营业执照的图片我重新上传很多次了一直都是这样,公众号都已经年审好了都用的一样的 [图片]
07-18