mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
ck管理添加异步状态获取
This commit is contained in:
1 parent
5f25fcc49f
commit
6b7a64845e
2 files changed
+22
-1
No files matched your search
@@ -81,10 +81,11 @@ export default class CookieService {
|
||||
|
||||
public async refreshCookie(_id: string) {
|
||||
const current = await this.get(_id);
|
||||
const { status } = await this.getJdInfo(current.value);
|
||||
const { status, nickname } = await this.getJdInfo(current.value);
|
||||
return {
|
||||
...current,
|
||||
status,
|
||||
nickname,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user