feat(user): 新增 online-kick 命令 (admin/self 强制下线)
This commit is contained in:
1 parent
c275391ced
commit
67e41a40fa
2 files changed
+47
-7
No files matched your search
@@ -129,6 +129,11 @@ export class JnpfClient {
|
||||
saveToken(t)
|
||||
}
|
||||
|
||||
/** 当前登录 token (供 online-kick 等需防自踢/防自调的子命令读) */
|
||||
getCurrentToken(): string | undefined {
|
||||
return this.token || undefined
|
||||
}
|
||||
|
||||
// ----- HTTP -----
|
||||
|
||||
async get<T = unknown>(path: string, query?: Record<string, string | number | undefined>): Promise<JnpfResp<T>> {
|
||||
|
||||
Reference in new issue
Block a user