fix: 解绑返回Promise
parent
c6bd290f8e
commit
d5ae2524c0
|
@ -76,7 +76,7 @@ const unbind = async () => {
|
|||
const { error } = await third.wechat.unbind({
|
||||
platform: 'miniProgram',
|
||||
});
|
||||
return !error;
|
||||
return Promise.resolve(!error);
|
||||
};
|
||||
|
||||
// 获取最新sessionId
|
||||
|
|
|
@ -60,7 +60,7 @@ async function unbind() {
|
|||
const { error } = await third.wechat.unbind({
|
||||
platform: 'officialAccount',
|
||||
});
|
||||
return !error;
|
||||
return Promise.resolve(!error);
|
||||
}
|
||||
|
||||
// 获取公众号登陆地址
|
||||
|
|
Loading…
Reference in New Issue