/** * @desc 删除角色 */ import * as defs from '../../baseClass'; import { defHttp } from 'hailuo-http'; export interface Params { /** 角色id */ id?: number; } export function request(params: Params): Promise> { return defHttp.delete({ url: '/web/role/deleteRole', params, }); } export function mock(params: Params): Promise> { return defHttp.delete({ url: '/mock/web/role/deleteRole', params, }); }