We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async getToken() { const { appId, appSecret, } = this.app.config.mp; const url =${tokenUri}?grant_type=client_credential&appid=${appId}&secret=${appSecret}; const res = await this.ctx.curl(url, { dataType: 'json', }); return res.data; } 直接这么粗暴的吗,每次获取直接刷新,不做持久化?调用上限满了怎么搞?
async getToken() { const { appId, appSecret, } = this.app.config.mp; const url =
; const res = await this.ctx.curl(url, { dataType: 'json', }); return res.data; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
async getToken() { const { appId, appSecret, } = this.app.config.mp; const url =
${tokenUri}?grant_type=client_credential&appid=${appId}&secret=${appSecret}; const res = await this.ctx.curl(url, { dataType: 'json', }); return res.data; }
直接这么粗暴的吗,每次获取直接刷新,不做持久化?调用上限满了怎么搞?
The text was updated successfully, but these errors were encountered: