优化菜单结构

This commit is contained in:
2024-07-23 05:24:43 +08:00
parent 65ba85dcdb
commit a657ff04ad
70 changed files with 11824 additions and 1 deletions

View File

@@ -175,3 +175,16 @@ export async function saveAuthority(data: any[]) {
}
return Promise.reject(new Error(res.data.message));
}
/**
* 查询我的项目信息
*/
export async function getMyApp() {
const res = await request.get<ApiResult<App>>(
MODULES_API_URL + '/oa/app/getMyApp'
);
if (res.data.code === 0 && res.data.data) {
return res.data.data;
}
return Promise.reject(new Error(res.data.message));
}