提交 4c43b9e5 编写于 作者: 雪洛's avatar 雪洛

feat: rename open-bridge cache key

上级 328be04d
......@@ -129,7 +129,7 @@ async function getQQCache ({
const getCacheMethod = qqPlatform === 'mp' ? 'getSessionKey' : 'getUserAccessToken'
const userKey = await this.uniOpenBridge[getCacheMethod]({
dcloudAppid: appId,
platform: qqPlatform + '-qq',
platform: 'qq-' + qqPlatform,
openid
})
if (userKey) {
......
......@@ -165,7 +165,7 @@ async function getWeixinCache ({
const getCacheMethod = weixinPlatform === 'mp' ? 'getSessionKey' : 'getUserAccessToken'
const userKey = await this.uniOpenBridge[getCacheMethod]({
dcloudAppid: appId,
platform: weixinPlatform + '-weixin',
platform: 'weixin-' + weixinPlatform,
openid
})
if (userKey) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册