diff --git a/.wb-trash/convert.cjs b/.wb-trash/convert.cjs new file mode 100644 index 0000000..6ea325e --- /dev/null +++ b/.wb-trash/convert.cjs @@ -0,0 +1,14 @@ +const fs = require('fs'); +const base = 'D:/SoftProject/yunhai/UserBase/front/src/api/'; +const files = ['apiDefinitions.ts', 'globals.d.ts']; +// 仅匹配单引号包裹的 api-path key:'xxxController.method' +const re = /'([a-zA-Z]+?)Controller\./g; +for (const f of files) { + const p = base + f; + let s = fs.readFileSync(p, 'utf8'); + const before = (s.match(re) || []).length; + s = s.replace(re, (m, ns) => "'" + ns.charAt(0).toUpperCase() + ns.slice(1) + "."); + fs.writeFileSync(p, s, 'utf8'); + const after = (s.match(re) || []).length; + console.log(f + ': replaced ' + before + ' -> remaining ' + after); +} diff --git a/.wb-trash/convert2.cjs b/.wb-trash/convert2.cjs new file mode 100644 index 0000000..d93667f --- /dev/null +++ b/.wb-trash/convert2.cjs @@ -0,0 +1,9 @@ +const fs = require('fs'); +const p = 'D:/SoftProject/yunhai/UserBase/front/src/api/globals.d.ts'; +let s = fs.readFileSync(p, 'utf8'); +// 匹配类型侧命名空间属性声明: baseController: { 或 baseController?: { +const re = /([ \t])([a-zA-Z]+?)Controller(\s*\??):/g; +const before = (s.match(re) || []).length; +s = s.replace(re, (m, sp, ns, q) => sp + (ns.charAt(0).toUpperCase() + ns.slice(1)) + (q || '') + ':'); +fs.writeFileSync(p, s, 'utf8'); +console.log('globals prop decl converted: ' + before + ' -> ' + (s.match(re) || []).length + ' remaining'); diff --git a/alova.config.ts b/alova.config.ts index cd54ead..b1cd907 100644 --- a/alova.config.ts +++ b/alova.config.ts @@ -29,11 +29,26 @@ export default { } const newOpId = apiDescriptor.summary?.trim() || apiDescriptor.operationId; const url = apiDescriptor.url.replace(/^\/{platform}\//, "/api/"); + // springdoc 默认把 Controller 类名转为 kebab tag(如 base-controller), + // 而业务代码统一用 Pascal 无 Controller 的命名空间(如 Base)调用。 + // 这里剥掉 -controller 后缀并转为 PascalCase,使 wormhole 生成的 + // API 路径(Base.getUserInfo 等)与 Apis.Base.xxx 调用风格一致。 + // 由于转换结果是合法 JS 标识符,wormhole 会原样保留、不做 camelCase 改写。 + if (Array.isArray(apiDescriptor.tags)) { + apiDescriptor.tags = apiDescriptor.tags.map((tag: string) => { + const stripped = tag.replace(/-?controller$/i, ""); + return stripped + .split(/[-_\s]+/) + .filter(Boolean) + .map((w: string) => w.charAt(0).toUpperCase() + w.slice(1).toLowerCase()) + .join(""); + }); + } return { ...apiDescriptor, operationId: newOpId, // 关键:改掉它 - url: apiDescriptor.url.replace(/^\/{platform}\//, "/api/"), + url, }; }, }, diff --git a/src/api/apiDefinitions.ts b/src/api/apiDefinitions.ts index 88d01da..0151785 100644 --- a/src/api/apiDefinitions.ts +++ b/src/api/apiDefinitions.ts @@ -16,102 +16,102 @@ * **Do not edit the file manually.** */ export default { - 'sysUserController.enable': ['POST', '/api/sysuser/Enable/{id}'], - 'sysUserController.edit': ['POST', '/api/sysuser/Edit/{id}'], - 'sysUserController.disable': ['POST', '/api/sysuser/Disable/{id}'], - 'sysUserController.deleteFromGroup': ['POST', '/api/sysuser/DeleteFromGroup/{userId}/{groupId}'], - 'sysUserController.changeSortNo': ['POST', '/api/sysuser/ChangeSortNo/{userId}'], - 'sysUserController.changeGroups': ['POST', '/api/sysuser/ChangeGroups'], - 'sysUserController.batchImport': ['POST', '/api/sysuser/BatchImport'], - 'sysUserController.batchDelete': ['POST', '/api/sysuser/BatchDelete'], - 'sysUserController.batchChangeStatus': ['POST', '/api/sysuser/BatchChangeStatus'], - 'sysUserController.add': ['POST', '/api/sysuser/Add'], - 'sysGroupController.sortChildren': ['POST', '/api/sysgroup/SortChildren'], - 'sysGroupController.move': ['POST', '/api/sysgroup/Move'], - 'sysGroupController.edit_1': ['POST', '/api/sysgroup/Edit/{id}'], - 'sysGroupController.delete_': ['POST', '/api/sysgroup/Delete/{id}'], - 'sysGroupController.batchAdd': ['POST', '/api/sysgroup/BatchAdd'], - 'sysGroupController.add_1': ['POST', '/api/sysgroup/Add'], - 'pushSubscriptionController.test': ['POST', '/api/push/Test'], - 'pushSubscriptionController.retry': ['POST', '/api/push/Retry/{id}'], - 'identityController.switchIdentity': ['POST', '/api/identity/switch'], - 'groupAuthzController.setSchoolApp': ['POST', '/api/groupauthz/SetSchoolApp'], - 'groupAuthzController.setGroupModule': ['POST', '/api/groupauthz/SetGroupModule'], - 'groupAuthzController.saveModulePerms': ['POST', '/api/groupauthz/SaveModulePerms'], - 'groupAuthzController.assignApps': ['POST', '/api/groupauthz/AssignApps'], - 'baseController.uploadFile': ['POST', '/api/base/UploadFile'], - 'appRoleController.saveUserRoles': ['POST', '/api/approle/SaveUserRoles'], - 'appRoleController.saveRoleUsers': ['POST', '/api/approle/SaveRoleUsers'], - 'appRoleController.saveRoleModules': ['POST', '/api/approle/SaveRoleModules'], - 'appRoleController.roleEdit': ['POST', '/api/approle/RoleEdit/{id}'], - 'appRoleController.roleDelete': ['POST', '/api/approle/RoleDelete/{id}'], - 'appRoleController.roleAdd': ['POST', '/api/approle/RoleAdd'], - 'appRoleController.removeRoleUser': ['POST', '/api/approle/RemoveRoleUser'], - 'appSettingsController.savePushSetting': ['POST', '/api/app/SavePushSetting/{id}'], - 'appSettingsController.resetAppSecret': ['POST', '/api/app/ResetAppSecret/{id}'], - 'appSettingsController.refreshSignKeys': ['POST', '/api/app/RefreshSignKeys'], - 'appSettingsController.editType': ['POST', '/api/app/EditType/{id}'], - 'appSettingsController.editModule': ['POST', '/api/app/EditModule/{id}'], - 'appSettingsController.editApp': ['POST', '/api/app/EditApp/{id}'], - 'appSettingsController.deleteType': ['POST', '/api/app/DeleteType/{id}'], - 'appSettingsController.deleteModule': ['POST', '/api/app/DeleteModule/{id}'], - 'appSettingsController.deleteApp': ['POST', '/api/app/DeleteApp/{id}'], - 'appSettingsController.appTypeSort': ['POST', '/api/app/AppTypeSort'], - 'appSettingsController.appSort': ['POST', '/api/app/AppSort'], - 'appSettingsController.addType': ['POST', '/api/app/AddType'], - 'appSettingsController.addModule': ['POST', '/api/app/AddModule'], - 'appSettingsController.addApp': ['POST', '/api/app/AddApp'], - 'userController.moveToGroup': ['POST', '/oapi/user/moveToGroup'], - 'userController.edit_2': ['POST', '/oapi/user/edit/{id}'], - 'userController.delete_1': ['POST', '/oapi/user/delete/{id}/{groupId}'], - 'userController.batchAdd_1': ['POST', '/oapi/user/batchAdd'], - 'userController.add_2': ['POST', '/oapi/user/add'], - 'groupController.edit_3': ['POST', '/oapi/group/edit/{id}'], - 'groupController.delete_2': ['POST', '/oapi/group/delete/{id}'], - 'groupController.batchAdd_2': ['POST', '/oapi/group/batchAdd'], - 'groupController.add_3': ['POST', '/oapi/group/add'], - 'sysUserController.list': ['GET', '/api/sysuser/List'], - 'sysUserController.getUserGroups': ['GET', '/api/sysuser/Groups/{userId}'], - 'sysUserController.export_': ['GET', '/api/sysuser/Export'], - 'sysUserController.downloadTemplate': ['GET', '/api/sysuser/DownloadTemplate'], - 'sysGroupController.list_1': ['GET', '/api/sysgroup/List'], - 'sysGroupController.getTree': ['GET', '/api/sysgroup/GetTree'], - 'sysGroupController.getSchoolTree': ['GET', '/api/sysgroup/GetSchoolTree'], - 'pushSubscriptionController.recordList': ['GET', '/api/push/RecordList'], - 'pushSubscriptionController.download': ['GET', '/api/push/Download/{id}'], - 'sysOperationLogController.list_2': ['GET', '/api/oplog/List'], - 'sysOperationLogController.download_1': ['GET', '/api/oplog/Download/{id}'], - 'identityController.current': ['GET', '/api/identity/current'], - 'identityController.available': ['GET', '/api/identity/available'], - 'groupAuthzController.userRoles': ['GET', '/api/groupauthz/UserRoles'], - 'groupAuthzController.userPermissionTree': ['GET', '/api/groupauthz/UserPermissionTree'], - 'groupAuthzController.userGroupTree': ['GET', '/api/groupauthz/UserGroupTree'], - 'groupAuthzController.searchUsers': ['GET', '/api/groupauthz/SearchUsers'], - 'groupAuthzController.hasModulePerm': ['GET', '/api/groupauthz/HasModulePerm'], - 'groupAuthzController.groupUsers': ['GET', '/api/groupauthz/GroupUsers'], - 'groupAuthzController.groupModuleTree': ['GET', '/api/groupauthz/GroupModuleTree'], - 'groupAuthzController.groupModuleTreeByCategory': ['GET', '/api/groupauthz/GroupModuleTreeByCategory'], - 'groupAuthzController.groupAppList': ['GET', '/api/groupauthz/GroupAppList'], - 'groupAuthzController.getSchoolAppId': ['GET', '/api/groupauthz/GetSchoolAppId'], - 'baseController.RedirectTo': ['GET', '/api/base/RedirectTo/{id}'], - 'baseController.manualHashCacheDemo': ['GET', '/api/base/ManualHashCacheDemo'], - 'baseController.getUserInfo': ['GET', '/api/base/GetUserInfo'], - 'baseController.getSysDict': ['GET', '/api/base/GetSysDict'], - 'appRoleController.roleUsers': ['GET', '/api/approle/RoleUsers'], - 'appRoleController.roleModuleTree': ['GET', '/api/approle/RoleModuleTree'], - 'appRoleController.roleList': ['GET', '/api/approle/RoleList'], - 'appSettingsController.moduleList': ['GET', '/api/app/ModuleList'], - 'appSettingsController.getPushSetting': ['GET', '/api/app/GetPushSetting/{id}'], - 'appSettingsController.appTypeList': ['GET', '/api/app/AppTypeList'], - 'appSettingsController.appSortList': ['GET', '/api/app/AppSortList'], - 'appSettingsController.appList': ['GET', '/api/app/AppList'], - 'appSettingsController.appAuthzList': ['GET', '/api/app/AppAuthzList'], - 'userController.modules': ['GET', '/oapi/user/modules'], - 'userController.byPhone': ['GET', '/oapi/user/byPhone'], - 'userController.byLoginName': ['GET', '/oapi/user/byLoginName'], - 'userController.byId': ['GET', '/oapi/user/byId'], - 'signKeyInternalController.signKey': ['GET', '/oapi/internal/sign-key/{appId}'], - 'groupController.tree': ['GET', '/oapi/group/tree'], - 'groupController.list_3': ['GET', '/oapi/group/list'], - 'groupController.byId_1': ['GET', '/oapi/group/byId'] + 'Sysuser.enable': ['POST', '/api/sysuser/Enable/{id}'], + 'Sysuser.edit': ['POST', '/api/sysuser/Edit/{id}'], + 'Sysuser.disable': ['POST', '/api/sysuser/Disable/{id}'], + 'Sysuser.deleteFromGroup': ['POST', '/api/sysuser/DeleteFromGroup/{userId}/{groupId}'], + 'Sysuser.changeSortNo': ['POST', '/api/sysuser/ChangeSortNo/{userId}'], + 'Sysuser.changeGroups': ['POST', '/api/sysuser/ChangeGroups'], + 'Sysuser.batchImport': ['POST', '/api/sysuser/BatchImport'], + 'Sysuser.batchDelete': ['POST', '/api/sysuser/BatchDelete'], + 'Sysuser.batchChangeStatus': ['POST', '/api/sysuser/BatchChangeStatus'], + 'Sysuser.add': ['POST', '/api/sysuser/Add'], + 'Sysgroup.sortChildren': ['POST', '/api/sysgroup/SortChildren'], + 'Sysgroup.move': ['POST', '/api/sysgroup/Move'], + 'Sysgroup.edit_1': ['POST', '/api/sysgroup/Edit/{id}'], + 'Sysgroup.delete_': ['POST', '/api/sysgroup/Delete/{id}'], + 'Sysgroup.batchAdd': ['POST', '/api/sysgroup/BatchAdd'], + 'Sysgroup.add_1': ['POST', '/api/sysgroup/Add'], + 'Pushsubscription.test': ['POST', '/api/push/Test'], + 'Pushsubscription.retry': ['POST', '/api/push/Retry/{id}'], + 'Identity.switchIdentity': ['POST', '/api/identity/switch'], + 'Groupauthz.setSchoolApp': ['POST', '/api/groupauthz/SetSchoolApp'], + 'Groupauthz.setGroupModule': ['POST', '/api/groupauthz/SetGroupModule'], + 'Groupauthz.saveModulePerms': ['POST', '/api/groupauthz/SaveModulePerms'], + 'Groupauthz.assignApps': ['POST', '/api/groupauthz/AssignApps'], + 'Base.uploadFile': ['POST', '/api/base/UploadFile'], + 'Approle.saveUserRoles': ['POST', '/api/approle/SaveUserRoles'], + 'Approle.saveRoleUsers': ['POST', '/api/approle/SaveRoleUsers'], + 'Approle.saveRoleModules': ['POST', '/api/approle/SaveRoleModules'], + 'Approle.roleEdit': ['POST', '/api/approle/RoleEdit/{id}'], + 'Approle.roleDelete': ['POST', '/api/approle/RoleDelete/{id}'], + 'Approle.roleAdd': ['POST', '/api/approle/RoleAdd'], + 'Approle.removeRoleUser': ['POST', '/api/approle/RemoveRoleUser'], + 'Appsettings.savePushSetting': ['POST', '/api/app/SavePushSetting/{id}'], + 'Appsettings.resetAppSecret': ['POST', '/api/app/ResetAppSecret/{id}'], + 'Appsettings.refreshSignKeys': ['POST', '/api/app/RefreshSignKeys'], + 'Appsettings.editType': ['POST', '/api/app/EditType/{id}'], + 'Appsettings.editModule': ['POST', '/api/app/EditModule/{id}'], + 'Appsettings.editApp': ['POST', '/api/app/EditApp/{id}'], + 'Appsettings.deleteType': ['POST', '/api/app/DeleteType/{id}'], + 'Appsettings.deleteModule': ['POST', '/api/app/DeleteModule/{id}'], + 'Appsettings.deleteApp': ['POST', '/api/app/DeleteApp/{id}'], + 'Appsettings.appTypeSort': ['POST', '/api/app/AppTypeSort'], + 'Appsettings.appSort': ['POST', '/api/app/AppSort'], + 'Appsettings.addType': ['POST', '/api/app/AddType'], + 'Appsettings.addModule': ['POST', '/api/app/AddModule'], + 'Appsettings.addApp': ['POST', '/api/app/AddApp'], + 'User.moveToGroup': ['POST', '/oapi/user/moveToGroup'], + 'User.edit_2': ['POST', '/oapi/user/edit/{id}'], + 'User.delete_1': ['POST', '/oapi/user/delete/{id}/{groupId}'], + 'User.batchAdd_1': ['POST', '/oapi/user/batchAdd'], + 'User.add_2': ['POST', '/oapi/user/add'], + 'Group.edit_3': ['POST', '/oapi/group/edit/{id}'], + 'Group.delete_2': ['POST', '/oapi/group/delete/{id}'], + 'Group.batchAdd_2': ['POST', '/oapi/group/batchAdd'], + 'Group.add_3': ['POST', '/oapi/group/add'], + 'Sysuser.list': ['GET', '/api/sysuser/List'], + 'Sysuser.getUserGroups': ['GET', '/api/sysuser/Groups/{userId}'], + 'Sysuser.export_': ['GET', '/api/sysuser/Export'], + 'Sysuser.downloadTemplate': ['GET', '/api/sysuser/DownloadTemplate'], + 'Sysgroup.list_1': ['GET', '/api/sysgroup/List'], + 'Sysgroup.getTree': ['GET', '/api/sysgroup/GetTree'], + 'Sysgroup.getSchoolTree': ['GET', '/api/sysgroup/GetSchoolTree'], + 'Pushsubscription.recordList': ['GET', '/api/push/RecordList'], + 'Pushsubscription.download': ['GET', '/api/push/Download/{id}'], + 'Sysoperationlog.list_2': ['GET', '/api/oplog/List'], + 'Sysoperationlog.download_1': ['GET', '/api/oplog/Download/{id}'], + 'Identity.current': ['GET', '/api/identity/current'], + 'Identity.available': ['GET', '/api/identity/available'], + 'Groupauthz.userRoles': ['GET', '/api/groupauthz/UserRoles'], + 'Groupauthz.userPermissionTree': ['GET', '/api/groupauthz/UserPermissionTree'], + 'Groupauthz.userGroupTree': ['GET', '/api/groupauthz/UserGroupTree'], + 'Groupauthz.searchUsers': ['GET', '/api/groupauthz/SearchUsers'], + 'Groupauthz.hasModulePerm': ['GET', '/api/groupauthz/HasModulePerm'], + 'Groupauthz.groupUsers': ['GET', '/api/groupauthz/GroupUsers'], + 'Groupauthz.groupModuleTree': ['GET', '/api/groupauthz/GroupModuleTree'], + 'Groupauthz.groupModuleTreeByCategory': ['GET', '/api/groupauthz/GroupModuleTreeByCategory'], + 'Groupauthz.groupAppList': ['GET', '/api/groupauthz/GroupAppList'], + 'Groupauthz.getSchoolAppId': ['GET', '/api/groupauthz/GetSchoolAppId'], + 'Base.RedirectTo': ['GET', '/api/base/RedirectTo/{id}'], + 'Base.manualHashCacheDemo': ['GET', '/api/base/ManualHashCacheDemo'], + 'Base.getUserInfo': ['GET', '/api/base/GetUserInfo'], + 'Base.getSysDict': ['GET', '/api/base/GetSysDict'], + 'Approle.roleUsers': ['GET', '/api/approle/RoleUsers'], + 'Approle.roleModuleTree': ['GET', '/api/approle/RoleModuleTree'], + 'Approle.roleList': ['GET', '/api/approle/RoleList'], + 'Appsettings.moduleList': ['GET', '/api/app/ModuleList'], + 'Appsettings.getPushSetting': ['GET', '/api/app/GetPushSetting/{id}'], + 'Appsettings.appTypeList': ['GET', '/api/app/AppTypeList'], + 'Appsettings.appSortList': ['GET', '/api/app/AppSortList'], + 'Appsettings.appList': ['GET', '/api/app/AppList'], + 'Appsettings.appAuthzList': ['GET', '/api/app/AppAuthzList'], + 'User.modules': ['GET', '/oapi/user/modules'], + 'User.byPhone': ['GET', '/oapi/user/byPhone'], + 'User.byLoginName': ['GET', '/oapi/user/byLoginName'], + 'User.byId': ['GET', '/oapi/user/byId'], + 'Signkeyinternal.signKey': ['GET', '/oapi/internal/sign-key/{appId}'], + 'Group.tree': ['GET', '/oapi/group/tree'], + 'Group.list_3': ['GET', '/oapi/group/list'], + 'Group.byId_1': ['GET', '/oapi/group/byId'] }; diff --git a/src/api/globals.d.ts b/src/api/globals.d.ts index da8b15d..559361f 100644 --- a/src/api/globals.d.ts +++ b/src/api/globals.d.ts @@ -750,7 +750,7 @@ export interface BoaModule { } declare global { interface Apis { - sysUserController: { + Sysuser: { /** * --- * @@ -782,7 +782,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -840,7 +840,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -872,7 +872,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -906,7 +906,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -949,7 +949,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -984,7 +984,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1026,7 +1026,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1059,7 +1059,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1092,7 +1092,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1138,7 +1138,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1209,7 +1209,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1241,7 +1241,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1277,7 +1277,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1309,9 +1309,9 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; - sysGroupController: { + Sysgroup: { /** * --- * @@ -1344,7 +1344,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1375,7 +1375,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1421,7 +1421,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1453,7 +1453,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1489,7 +1489,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1523,7 +1523,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1567,7 +1567,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1593,7 +1593,7 @@ declare global { */ getTree>( config?: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1619,9 +1619,9 @@ declare global { */ getSchoolTree>( config?: Config - ): Alova2Method; + ): Alova2Method; }; - pushSubscriptionController: { + Pushsubscription: { /** * --- * @@ -1655,7 +1655,7 @@ declare global { } >( config: Config - ): Alova2Method, 'pushSubscriptionController.test', Config>; + ): Alova2Method, 'Pushsubscription.test', Config>; /** * --- * @@ -1687,7 +1687,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1762,7 +1762,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1794,9 +1794,9 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; - identityController: { + Identity: { /** * --- * @@ -1833,7 +1833,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1856,7 +1856,7 @@ declare global { */ current>( config?: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1879,9 +1879,9 @@ declare global { */ available>( config?: Config - ): Alova2Method; + ): Alova2Method; }; - groupAuthzController: { + Groupauthz: { /** * --- * @@ -1913,7 +1913,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1947,7 +1947,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -1983,7 +1983,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2016,7 +2016,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2055,7 +2055,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2113,7 +2113,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2153,7 +2153,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2191,7 +2191,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2225,7 +2225,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2263,7 +2263,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2315,7 +2315,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2373,7 +2373,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2412,7 +2412,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2444,9 +2444,9 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; - baseController: { + Base: { /** * --- * @@ -2490,7 +2490,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2743,7 +2743,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2760,7 +2760,7 @@ declare global { */ manualHashCacheDemo>>( config?: Config - ): Alova2Method, 'baseController.manualHashCacheDemo', Config>; + ): Alova2Method, 'Base.manualHashCacheDemo', Config>; /** * --- * @@ -2777,7 +2777,7 @@ declare global { */ getUserInfo>( config?: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2794,9 +2794,9 @@ declare global { */ getSysDict>>( config?: Config - ): Alova2Method, 'baseController.getSysDict', Config>; + ): Alova2Method, 'Base.getSysDict', Config>; }; - appRoleController: { + Approle: { /** * --- * @@ -2829,7 +2829,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2862,7 +2862,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2895,7 +2895,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2942,7 +2942,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -2974,7 +2974,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3009,7 +3009,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3043,7 +3043,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3079,7 +3079,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3129,7 +3129,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3195,9 +3195,9 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; - appSettingsController: { + Appsettings: { /** * --- * @@ -3244,7 +3244,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3276,7 +3276,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3293,7 +3293,7 @@ declare global { */ refreshSignKeys>>( config?: Config - ): Alova2Method, 'appSettingsController.refreshSignKeys', Config>; + ): Alova2Method, 'Appsettings.refreshSignKeys', Config>; /** * --- * @@ -3337,7 +3337,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3385,7 +3385,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3439,7 +3439,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3471,7 +3471,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3503,7 +3503,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3535,7 +3535,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3563,7 +3563,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3591,7 +3591,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3623,7 +3623,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3659,7 +3659,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3701,7 +3701,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3750,7 +3750,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3792,7 +3792,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3830,7 +3830,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3866,7 +3866,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3939,7 +3939,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -3965,9 +3965,9 @@ declare global { */ appAuthzList>( config?: Config - ): Alova2Method; + ): Alova2Method; }; - userController: { + User: { /** * --- * @@ -4073,7 +4073,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4205,7 +4205,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4239,7 +4239,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4359,7 +4359,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4479,7 +4479,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4522,7 +4522,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4628,7 +4628,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4734,7 +4734,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4840,9 +4840,9 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; - groupController: { + Group: { /** * --- * @@ -4898,7 +4898,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4930,7 +4930,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -4976,7 +4976,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -5020,7 +5020,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -5045,9 +5045,7 @@ declare global { * } * ``` */ - tree>( - config?: Config - ): Alova2Method; + tree>(config?: Config): Alova2Method; /** * --- * @@ -5091,7 +5089,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -5135,9 +5133,9 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; - sysOperationLogController: { + Sysoperationlog: { /** * --- * @@ -5212,7 +5210,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -5244,9 +5242,9 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; - signKeyInternalController: { + Signkeyinternal: { /** * --- * @@ -5278,7 +5276,7 @@ declare global { } >( config: Config - ): Alova2Method, 'signKeyInternalController.signKey', Config>; + ): Alova2Method, 'Signkeyinternal.signKey', Config>; }; }