mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
fix: ck提示;抽卡记录
This commit is contained in:
parent
d6ab61fe5a
commit
4ed3555f33
4 changed files with 30 additions and 19 deletions
|
|
@ -30,7 +30,9 @@ export default class MysZZZApi extends MysApi {
|
|||
const ck = Object.values(this.cookie).find(item => {
|
||||
return item.ck && item.uid === uid;
|
||||
});
|
||||
logger.debug(ck);
|
||||
if (!ck) {
|
||||
throw new Error(`[ZZZ]要查询的UID:${uid}未绑定Cookie`);
|
||||
}
|
||||
this._device = ck?.device_id || ck?.device;
|
||||
this.cookie = ck?.ck;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue