mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 08:36:19 +08:00
chore: add some notes
This commit is contained in:
@@ -5,7 +5,7 @@ enum Api {
|
||||
ACCOUNT_INFO = '/account/getAccountInfo',
|
||||
}
|
||||
|
||||
// 获取个人中心--基础设置内容
|
||||
// Get personal center-basic settings
|
||||
export function accountInfoApi() {
|
||||
return defHttp.request<GetAccountInfoModel>({
|
||||
url: Api.ACCOUNT_INFO,
|
||||
|
@@ -7,7 +7,7 @@ enum Api {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 根据id获取用户菜单
|
||||
* @description: Get user menu based on id
|
||||
*/
|
||||
export function getMenuListById(params: getMenuListByIdParams) {
|
||||
return defHttp.request<getMenuListByIdParamsResultModel>({
|
||||
|
@@ -11,13 +11,13 @@ export interface RouteItem {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取菜单接口
|
||||
* @description: Get menu interface
|
||||
*/
|
||||
export interface getMenuListByIdParams {
|
||||
id: number | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取菜单返回值
|
||||
* @description: Get menu return value
|
||||
*/
|
||||
export type getMenuListByIdParamsResultModel = RouteItem[];
|
||||
|
@@ -7,7 +7,7 @@ enum Api {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 上传接口
|
||||
* @description: Upload interface
|
||||
*/
|
||||
export function uploadApi(
|
||||
params: UploadFileParams,
|
||||
|
Reference in New Issue
Block a user