This commit is contained in:
@@ -8,10 +8,14 @@ import type {
|
||||
AccountQueryParams,
|
||||
CreatePlatformAccountParams,
|
||||
BaseResponse,
|
||||
PaginationResponse
|
||||
PaginationResponse,
|
||||
WecomAccountBindingRequest
|
||||
} from '@/types/api'
|
||||
|
||||
export class AccountService extends BaseService {
|
||||
static bindWecom(id: number, data: WecomAccountBindingRequest): Promise<BaseResponse> {
|
||||
return this.put<BaseResponse>(`/api/admin/accounts/${id}/wecom-binding`, data)
|
||||
}
|
||||
// ========== 账号管理 (Account Management) ==========
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user