routes.ts 209 B

123456789
  1. import { get, Result } from "../base";
  2. /**
  3. * 当前用户的路由信息
  4. * @returns .
  5. */
  6. export function getRoutes(): Promise<Result<any>> {
  7. return get<any, Result<any>>("/sys/permission/routes", {});
  8. }