提交 3e7c7600 编写于 作者: 雪洛's avatar 雪洛

Merge branch 'dev'

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