mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 11:00:51 +08:00
fix更正扫码绑定报错
This commit is contained in:
parent
4db9fdf24e
commit
36a6eb1f28
@ -713,7 +713,7 @@ export default class user {
|
||||
skuid = await gsCfg.getBingCookie(e.user_id);
|
||||
cookie = skuid?.ck;
|
||||
uid = skuid?.item;
|
||||
if (!uid && e.user) { //获取uid为空时进行后续处理获取 (临时处理方式后续会进行解耦以避免这种情况。。待咕中.)s
|
||||
if (!uid && e.user?.mainUid) { //获取uid为空时进行后续处理获取 (临时处理方式后续会进行解耦以避免这种情况。。待咕中.)s
|
||||
uid = e.user?.mainUid[e.isSr ? 'sr' : 'gs'] //由于目前只支持原神功能暂时先写死
|
||||
lodash.mapValues(e.user.mysUsers, function (o) {
|
||||
if (o.uids[e.isSr ? 'sr' : 'gs'].includes(uid)) {
|
||||
|
Loading…
Reference in New Issue
Block a user