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