更改校端权限

This commit is contained in:
chenxing
2026-09-07 09:32:38 +08:00
parent 9200fa2135
commit 7e37f2ada6
15 changed files with 461 additions and 120 deletions
+2
View File
@@ -96,7 +96,9 @@ export default {
'Base.RedirectTo': ['GET', '/api/base/RedirectTo/{id}'],
'Base.manualHashCacheDemo': ['GET', '/api/base/ManualHashCacheDemo'],
'Base.getUserInfo': ['GET', '/api/base/GetUserInfo'],
'Base.getUserScope': ['GET', '/api/base/GetUserScope'],
'Base.getSysDict': ['GET', '/api/base/GetSysDict'],
'AppSettings.schoolList': ['GET', '/api/app/SchoolList'],
'AppRole.roleUsers': ['GET', '/api/approle/RoleUsers'],
'AppRole.roleModuleTree': ['GET', '/api/approle/RoleModuleTree'],
'AppRole.roleList': ['GET', '/api/approle/RoleList'],
+34
View File
@@ -2758,6 +2758,23 @@ declare global {
getUserInfo<Config extends Alova2MethodConfig<object>>(
config?: Config
): Alova2Method<object, 'Base.getUserInfo', Config>;
/**
* ---
*
* [GET]
*
* **path:** /api/base/GetUserScope
*
* ---
*
* **Response**
* ```ts
* type Response = { level: number, bureauGroupId?: number, schoolGroupIds?: number[] }
* ```
*/
getUserScope<Config extends Alova2MethodConfig<object>>(
config?: Config
): Alova2Method<object, 'Base.getUserScope', Config>;
/**
* ---
*
@@ -3920,6 +3937,23 @@ declare global {
>(
config: Config
): Alova2Method<BasePageResultApplicationInfoVo, 'AppSettings.appList', Config>;
/**
* ---
*
* [GET]
*
* **path:** /api/app/SchoolList
*
* ---
*
* **Response**
* ```ts
* type Response = Array<{ id: number, name: string }>
* ```
*/
schoolList<Config extends Alova2MethodConfig<Array<any>>>(
config?: Config
): Alova2Method<Array<any>, 'AppSettings.schoolList', Config>;
/**
* ---
*