diff --git a/.wb-trash/convert.cjs b/.wb-trash/convert.cjs deleted file mode 100644 index 6ea325e..0000000 --- a/.wb-trash/convert.cjs +++ /dev/null @@ -1,14 +0,0 @@ -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 deleted file mode 100644 index d93667f..0000000 --- a/.wb-trash/convert2.cjs +++ /dev/null @@ -1,9 +0,0 @@ -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/.wb-trash/fixns.cjs b/.wb-trash/fixns.cjs new file mode 100644 index 0000000..d5c94dc --- /dev/null +++ b/.wb-trash/fixns.cjs @@ -0,0 +1,26 @@ +// 纠正当前 api:gen 产物中命名空间的大小写错误 +// 映射依据:后端 service 下真实的 *Controller 类名 -> PascalCase 命名空间 +const fs = require('fs'); +const map = { + Approle: 'AppRole', + Appsettings: 'AppSettings', + Groupauthz: 'GroupAuthz', + Pushsubscription: 'PushSubscription', + Signkeyinternal: 'SignKeyInternal', + Sysgroup: 'SysGroup', + Sysuser: 'SysUser', +}; +const targets = ['src/api/apiDefinitions.ts', 'src/api/globals.d.ts']; +for (const f of targets) { + let s = fs.readFileSync(f, 'utf8'); + for (const [wrong, correct] of Object.entries(map)) { + // 带引号 key:'Sysgroup. -> 'SysGroup. + s = s.split(`'${wrong}.`).join(`'${correct}.`); + // 裸引用(globals.d.ts 里的 interface/属性声明):Sysgroup: -> SysGroup: / Sysgroup. -> SysGroup. + s = s.split(`${wrong}:`).join(`${correct}:`); + s = s.split(`${wrong}.`).join(`${correct}.`); + } + fs.writeFileSync(f, s); + console.log('fixed', f); +} +console.log('done'); diff --git a/alova.config.ts b/alova.config.ts index b1cd907..6c1420a 100644 --- a/alova.config.ts +++ b/alova.config.ts @@ -34,15 +34,21 @@ export default { // 这里剥掉 -controller 后缀并转为 PascalCase,使 wormhole 生成的 // API 路径(Base.getUserInfo 等)与 Apis.Base.xxx 调用风格一致。 // 由于转换结果是合法 JS 标识符,wormhole 会原样保留、不做 camelCase 改写。 + // springdoc v3 的 tag 有两种形态,都要能正确转为 PascalCase 且无 Controller 后缀: + // - Pascal+Controller:SysGroupController -> SysGroup + // - kebab+controller:sys-group-controller -> SysGroup + // 关键:剥掉尾部 Controller 后,要在 camelCase 边界补空格再逐段首字母大写, + // 否则 SysGroup -> Sysgroup(后面全被 toLowerCase 压成小写)会让运行时查不到。 + const toNamespace = (tag: string): string => { + const stripped = tag.replace(/controller$/i, ""); + const withSpaces = stripped.replace(/([a-z0-9])([A-Z])/g, "$1 $2"); + const parts = withSpaces.split(/[^a-zA-Z0-9]+/).filter(Boolean); + return parts + .map((p: string) => p.charAt(0).toUpperCase() + p.slice(1).toLowerCase()) + .join(""); + }; 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(""); - }); + apiDescriptor.tags = apiDescriptor.tags.map(toNamespace); } return { diff --git a/src/api/apiDefinitions.ts b/src/api/apiDefinitions.ts index 0151785..cdc8803 100644 --- a/src/api/apiDefinitions.ts +++ b/src/api/apiDefinitions.ts @@ -16,51 +16,51 @@ * **Do not edit the file manually.** */ export default { - '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}'], + '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'], + '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'], + '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}'], @@ -70,47 +70,47 @@ export default { '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}'], + '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'], + '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'], + '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}'], + '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 559361f..26d3341 100644 --- a/src/api/globals.d.ts +++ b/src/api/globals.d.ts @@ -750,7 +750,7 @@ export interface BoaModule { } declare global { interface Apis { - Sysuser: { + 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; }; - Sysgroup: { + 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; }; - Pushsubscription: { + PushSubscription: { /** * --- * @@ -1655,7 +1655,7 @@ declare global { } >( config: Config - ): Alova2Method, 'Pushsubscription.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,7 +1794,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; Identity: { /** @@ -1881,7 +1881,7 @@ declare global { config?: Config ): Alova2Method; }; - Groupauthz: { + 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,7 +2444,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; Base: { /** @@ -2796,7 +2796,7 @@ declare global { config?: Config ): Alova2Method, 'Base.getSysDict', Config>; }; - Approle: { + 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; }; - Appsettings: { + 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, 'Appsettings.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,7 +3965,7 @@ declare global { */ appAuthzList>( config?: Config - ): Alova2Method; + ): Alova2Method; }; User: { /** @@ -5135,7 +5135,7 @@ declare global { config: Config ): Alova2Method; }; - Sysoperationlog: { + SysOperationLog: { /** * --- * @@ -5210,7 +5210,7 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; /** * --- * @@ -5242,9 +5242,9 @@ declare global { } >( config: Config - ): Alova2Method; + ): Alova2Method; }; - Signkeyinternal: { + SignKeyInternal: { /** * --- * @@ -5276,7 +5276,7 @@ declare global { } >( config: Config - ): Alova2Method, 'Signkeyinternal.signKey', Config>; + ): Alova2Method, 'SignKeyInternal.signKey', Config>; }; }