feat: implement get cookies and CSRF and credentials
This commit is contained in:
1 parent
8b313fe088
commit
c8dd520d65
5 files changed
+95
-6
No files matched your search
@@ -132,6 +132,9 @@ export function buildApiContext(ref: InstanceRef): ApiActionContext {
|
||||
getGroupEssenceAll: (groupId: number) => bridge.getGroupEssenceAll(groupId),
|
||||
sendGroupNotice: (groupId: number, content: string, options?: any) => bridge.sendGroupNotice(groupId, content, options),
|
||||
getGroupNotice: (groupId: number) => bridge.getGroupNotice(groupId),
|
||||
getCookiesStr: (domain: string) => bridge.getCookiesStr(domain),
|
||||
getCsrfToken: () => bridge.getCsrfToken(),
|
||||
getCredentials: (domain: string) => bridge.getCredentials(domain),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user