Download playground/src/api/core/menu.ts from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 262 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/playground/src/api/core/menu.ts
- Command line
-
hf download hf://spaces/binhugg3/admin/playground/src/api/core/menu.ts
-
curl -L -o menu.ts https://huggingface.co/spaces/binhugg3/admin/resolve/main/playground/src/api/core/menu.ts
262 Bytes
| import type { RouteRecordStringComponent } from '@vben/types'; | |
| import { requestClient } from '#/api/request'; | |
| /** | |
| * 获取用户所有菜单 | |
| */ | |
| export async function getAllMenusApi() { | |
| return requestClient.get<RouteRecordStringComponent[]>('/menu/all'); | |
| } | |