feat(weibo): 支持管理员强制更新占用账号 CK
This commit is contained in:
@@ -49,11 +49,17 @@ export const weiboApi = {
|
||||
),
|
||||
getAccount: (accountId: number) =>
|
||||
api.get<WeiboAccountItem, WeiboAccountItem>(`/weibo/accounts/${accountId}`),
|
||||
importCookies: (text: string, tag = '', updateExisting = false) =>
|
||||
importCookies: (
|
||||
text: string,
|
||||
tag = '',
|
||||
updateExisting = false,
|
||||
forceUpdate = false,
|
||||
) =>
|
||||
api.post<WeiboImportResult, WeiboImportResult>('/weibo/accounts/import-cookies', {
|
||||
text,
|
||||
tag,
|
||||
update_existing: updateExisting,
|
||||
force_update: forceUpdate,
|
||||
}),
|
||||
updateAccount: (
|
||||
accountId: number,
|
||||
|
||||
Reference in New Issue
Block a user