This commit is contained in:
@@ -28,7 +28,7 @@ export class AccountService extends BaseService {
|
||||
* POST /api/admin/accounts
|
||||
* @param data 账号数据
|
||||
*/
|
||||
static createAccount(data: CreatePlatformAccountParams): Promise<BaseResponse> {
|
||||
static createAccount(data: CreatePlatformAccountParams): Promise<BaseResponse<{ ID?: number; id?: number }>> {
|
||||
return this.create('/api/admin/accounts', data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user