let res = await app.getRequest("",'getPreAuhorCode',"");
console.log(res)
let preCode = res.data;
console.log(preCode)
const MiniprogramThirdpartyPlugin = requirePlugin('miniprogram-thirdparty-plugin')
// 初始化
MiniprogramThirdpartyPlugin.init(wx) ;
// 请求用户授权
MiniprogramThirdpartyPlugin.openAuthorizeAccount({
platformAppID: 'wx8194e6ad82xxxxx',
preAuthCode:preCode,//获取的预授权码
authType:3,
})
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。