安卓跳转公众号,提示"本次请求无效,请确认是否具有权限",请问怎么得到权限?

发布于 7 年前作者 juan222821 次浏览最后编辑 7 年前来自 ask

调用代码:

val iWXAPI = WXAPIFactory.createWXAPI(ContextManager.applicationContext, PUBLICK_APP_ID, true)

iWXAPI.registerApp(PUBLICK_APP_ID)

val req = JumpToBizProfile.Req()

req.toUserName = publickId //公众号原始id

req.extMsg = extMsg

req.profileType = JumpToBizProfile.JUMP_TO_NORMAL_BIZ_PROFILE

val ret = iWXAPI.sendReq(req)

1 回复
guiying99
guiying991 楼5 年前

你好,这个功能的文档地址能否提供下?