Просмотр исходного кода

fix(@vben/baicai): 修改单点的登录,替换所有的result风格的 api

zcuishan 5 месяцев назад
Родитель
Сommit
20640b74f5
92 измененных файлов с 3890 добавлено и 3195 удалено
  1. BIN
      apps/web-baicai/public/favicon.ico
  2. 1 0
      apps/web-baicai/src/preferences.ts
  3. 2 2
      apps/web-baicai/src/service/apis/Default/ApipostController.ts
  4. 2 2
      apps/web-baicai/src/service/apis/Default/CacheController.ts
  5. 2 2
      apps/web-baicai/src/service/apis/Default/CaptchaController.ts
  6. 2 2
      apps/web-baicai/src/service/apis/Default/CryptogramController.ts
  7. 8 8
      apps/web-baicai/src/service/apis/Default/DynamicsqlController.ts
  8. 2 2
      apps/web-baicai/src/service/apis/Default/EnumController.ts
  9. 11 11
      apps/web-baicai/src/service/apis/Default/FileController.ts
  10. 2 2
      apps/web-baicai/src/service/apis/Default/ServerController.ts
  11. 2 2
      apps/web-baicai/src/service/apis/Default/SwaggerController.ts
  12. 4 4
      apps/web-baicai/src/service/apis/Default/index.ts
  13. 3 3
      apps/web-baicai/src/service/apis/Design/CodeTemplateController.ts
  14. 8 8
      apps/web-baicai/src/service/apis/Design/DatabaseController.ts
  15. 17 17
      apps/web-baicai/src/service/apis/Design/GenerateController.ts
  16. 5 5
      apps/web-baicai/src/service/apis/Design/QueryController.ts
  17. 3 3
      apps/web-baicai/src/service/apis/Design/TableQueryController.ts
  18. 3 3
      apps/web-baicai/src/service/apis/Design/index.ts
  19. 2 2
      apps/web-baicai/src/service/apis/Job/JobController.ts
  20. 8 8
      apps/web-baicai/src/service/apis/Job/JobRecordController.ts
  21. 5 5
      apps/web-baicai/src/service/apis/Job/JobTermController.ts
  22. 3 3
      apps/web-baicai/src/service/apis/Job/JobTriggerController.ts
  23. 2 2
      apps/web-baicai/src/service/apis/Job/index.ts
  24. 4 4
      apps/web-baicai/src/service/apis/Logging/LogauditController.ts
  25. 4 4
      apps/web-baicai/src/service/apis/Logging/LogdifferenceController.ts
  26. 4 4
      apps/web-baicai/src/service/apis/Logging/LogexceptionController.ts
  27. 4 4
      apps/web-baicai/src/service/apis/Logging/LogoperateController.ts
  28. 4 4
      apps/web-baicai/src/service/apis/Logging/LogvisitController.ts
  29. 1 1
      apps/web-baicai/src/service/apis/Logging/index.ts
  30. 21 0
      apps/web-baicai/src/service/apis/Plugins/DynamicapiController.ts
  31. 13 0
      apps/web-baicai/src/service/apis/Plugins/EmailController.ts
  32. 43 0
      apps/web-baicai/src/service/apis/Plugins/PluginsConfigController.ts
  33. 70 0
      apps/web-baicai/src/service/apis/Plugins/PluginsTemplateController.ts
  34. 19 0
      apps/web-baicai/src/service/apis/Plugins/SmsController.ts
  35. 20 0
      apps/web-baicai/src/service/apis/Plugins/index.ts
  36. 6 6
      apps/web-baicai/src/service/apis/System/ConfigController.ts
  37. 5 5
      apps/web-baicai/src/service/apis/System/DepartmentController.ts
  38. 8 8
      apps/web-baicai/src/service/apis/System/DictionaryController.ts
  39. 3 3
      apps/web-baicai/src/service/apis/System/MenuController.ts
  40. 5 5
      apps/web-baicai/src/service/apis/System/PostController.ts
  41. 18 18
      apps/web-baicai/src/service/apis/System/RoleController.ts
  42. 2 2
      apps/web-baicai/src/service/apis/System/SecurityController.ts
  43. 8 2
      apps/web-baicai/src/service/apis/System/SyncController.ts
  44. 6 6
      apps/web-baicai/src/service/apis/System/TenantController.ts
  45. 6 6
      apps/web-baicai/src/service/apis/System/UserController.ts
  46. 4 4
      apps/web-baicai/src/service/apis/System/index.ts
  47. 2 2
      apps/web-baicai/src/service/apis/Wechat/OfficialaccountController.ts
  48. 2 2
      apps/web-baicai/src/service/apis/Wechat/ProgramController.ts
  49. 1 1
      apps/web-baicai/src/service/apis/Wechat/index.ts
  50. 1 0
      apps/web-baicai/src/service/enums.ts
  51. 6 4
      apps/web-baicai/src/service/index.ts
  52. 3126 2873
      apps/web-baicai/src/service/typing.d.ts
  53. 8 0
      apps/web-baicai/src/store/app.ts
  54. 2 1
      apps/web-baicai/src/store/auth.ts
  55. 1 1
      apps/web-baicai/src/utils/gapi/config.cjs
  56. 1 8
      apps/web-baicai/src/utils/gapi/index.cjs
  57. 8 8
      apps/web-baicai/src/views/plugins/template/components/edit.vue
  58. 6 2
      apps/web-baicai/src/views/plugins/template/index.vue
  59. 4 2
      apps/web-baicai/src/views/system/cache/index.vue
  60. 6 2
      apps/web-baicai/src/views/system/department/components/edit.vue
  61. 2 1
      apps/web-baicai/src/views/system/department/index.vue
  62. 6 2
      apps/web-baicai/src/views/system/design/database/components/edit.vue
  63. 8 3
      apps/web-baicai/src/views/system/design/database/index.vue
  64. 12 5
      apps/web-baicai/src/views/system/design/generate/info/components/edit.vue
  65. 2 2
      apps/web-baicai/src/views/system/design/generate/info/components/preview.vue
  66. 8 3
      apps/web-baicai/src/views/system/design/generate/info/index.vue
  67. 6 4
      apps/web-baicai/src/views/system/design/generate/template/components/edit.vue
  68. 6 2
      apps/web-baicai/src/views/system/design/generate/template/index.vue
  69. 8 5
      apps/web-baicai/src/views/system/design/query/components/edit.vue
  70. 8 2
      apps/web-baicai/src/views/system/design/query/components/view.vue
  71. 6 2
      apps/web-baicai/src/views/system/design/query/index.vue
  72. 8 6
      apps/web-baicai/src/views/system/dict/item/edit.vue
  73. 2 1
      apps/web-baicai/src/views/system/dict/item/index.vue
  74. 8 6
      apps/web-baicai/src/views/system/dict/type/edit.vue
  75. 6 2
      apps/web-baicai/src/views/system/dict/type/index.vue
  76. 6 2
      apps/web-baicai/src/views/system/job/record/index.vue
  77. 6 2
      apps/web-baicai/src/views/system/job/term/components/edit.vue
  78. 14 6
      apps/web-baicai/src/views/system/job/term/index.vue
  79. 2 1
      apps/web-baicai/src/views/system/log/audit/index.vue
  80. 8 4
      apps/web-baicai/src/views/system/log/difference/index.vue
  81. 8 3
      apps/web-baicai/src/views/system/log/exception/index.vue
  82. 8 3
      apps/web-baicai/src/views/system/log/operate/index.vue
  83. 8 4
      apps/web-baicai/src/views/system/log/visit/index.vue
  84. 2 1
      apps/web-baicai/src/views/system/menu/components/edit.vue
  85. 88 0
      apps/web-baicai/src/views/system/ossLogin/components/data.config.ts
  86. 35 0
      apps/web-baicai/src/views/system/ossLogin/config.vue
  87. 26 18
      apps/web-baicai/src/views/system/ossLogin/index.vue
  88. 8 4
      apps/web-baicai/src/views/system/role/components/edit.vue
  89. 7 5
      apps/web-baicai/src/views/system/role/components/grant.vue
  90. 8 3
      apps/web-baicai/src/views/system/role/index.vue
  91. 11 5
      apps/web-baicai/src/views/system/user/index.vue
  92. BIN
      packages/@core/base/icons/logo.png

BIN
apps/web-baicai/public/favicon.ico


+ 1 - 0
apps/web-baicai/src/preferences.ts

@@ -14,5 +14,6 @@ export const overridesPreferences = defineOverridesPreferences({
   },
   theme: {
     mode: 'auto',
+    colorPrimary: '#821c83',
   },
 });

+ 2 - 2
apps/web-baicai/src/service/apis/Default/ApipostController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // API请求            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 获取所有接口/动态API 🔖 GET /api/apipost/list */
+import { requestClient } from '#/api/request'; /** 获取所有接口/动态API 🔖 GET /api/apipost/list */
 export const DefaultApipostList = () =>
   requestClient.get<API.ApiOutput[]>('/apipost/list');
 export default {

+ 2 - 2
apps/web-baicai/src/service/apis/Default/CacheController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 系统缓存服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 系统缓存(键名集合) GET /api/cache/list */
+import { requestClient } from '#/api/request'; /** 系统缓存(键名集合) GET /api/cache/list */
 export const DefaultCacheList = () =>
   requestClient.get<string[]>('/cache/list');
 

+ 2 - 2
apps/web-baicai/src/service/apis/Default/CaptchaController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 验证码服务接口            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 创建算式验证码 POST /api/captcha */
+import { requestClient } from '#/api/request'; /** 创建算式验证码 POST /api/captcha */
 export const DefaultCaptcha = (data: API.CaptchaParams) =>
   requestClient.post<API.CaptchaResult>('/captcha', data);
 

+ 2 - 2
apps/web-baicai/src/service/apis/Default/CryptogramController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 加密管理            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 获取国密公钥私钥对 🏆 GET /api/cryptogram/secret-key */
+import { requestClient } from '#/api/request'; /** 获取国密公钥私钥对 🏆 GET /api/cryptogram/secret-key */
 export const DefaultCryptogramSecretKey = () =>
   requestClient.get<API.SecretKeyOutput>('/cryptogram/secret-key');
 

+ 8 - 8
apps/web-baicai/src/service/apis/Default/DynamicsqlController.ts

@@ -1,21 +1,21 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 动态SQL服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 动态SQL(分页) GET /api/dynamicsql/page */
+import { requestClient } from '#/api/request'; /** 动态SQL(分页) GET /api/dynamicsql/page */
 export const DefaultDynamicsqlPage = (params?: {
+  /** 查询SQL
+如:select * from student  where id=@id */
+  querySql?: string;
+  /** 查询参数 JSON字符串
+如:{ id=1} */
+  param?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
   PageSize?: number;
-  /** 查询参数 JSON字符串
-如:{ id=1} */
-  param?: string;
-  /** 查询SQL
-如:select * from student  where id=@id */
-  querySql?: string;
   /** SortField */
   SortField?: string;
   /** SortType */

+ 2 - 2
apps/web-baicai/src/service/apis/Default/EnumController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 代码生成管理服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 枚举(列表) GET /api/enum/list */
+import { requestClient } from '#/api/request'; /** 枚举(列表) GET /api/enum/list */
 export const DefaultEnumList = (params: {
   /** 枚举类型名称 */
   Name: string;

+ 11 - 11
apps/web-baicai/src/service/apis/Default/FileController.ts

@@ -1,15 +1,19 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 系统文件 🧩            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 系统文件(分页列表) GET /api/file/page */
+import { requestClient } from '#/api/request'; /** 系统文件(分页列表) GET /api/file/page */
 export const DefaultFilePage = (params?: {
-  /** 结束时间 */
-  EndTime?: string;
   /** 文件名称 */
   FileName?: string;
+  /** 文件后缀 */
+  Suffix?: string;
+  /** 开始时间 */
+  StartTime?: string;
+  /** 结束时间 */
+  EndTime?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -18,17 +22,13 @@ export const DefaultFilePage = (params?: {
   SortField?: string;
   /** SortType */
   SortType?: string;
-  /** 开始时间 */
-  StartTime?: string;
-  /** 文件后缀 */
-  Suffix?: string;
 }) =>
   requestClient.get<API.SqlSugarPagedList_FileOutput>('/file/page', { params });
 
 /** 系统文件(列表) GET /api/file/list */
 export const DefaultFileList = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.FileOutput[]>('/file/list', { params });
 
 /** 系统文件(文件上传) POST /api/file/upload */
@@ -54,13 +54,13 @@ export const DefaultDeleteUrl = (data: API.KeyCodeRequest) =>
 /** 系统文件(文件流) GET /api/file/download */
 export const DefaultFileDownload = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.FileStreamResult>('/file/download', { params });
 
 /** 系统文件(Base64) GET /api/file/base64 */
 export const DefaultFileBase64 = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<string>('/file/base64', { params });
 
 /** 系统文件(Base64) GET /api/file/base64-url */

+ 2 - 2
apps/web-baicai/src/service/apis/Default/ServerController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // Server 服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 获取服务器配置信息 🔖 GET /api/server/info */
+import { requestClient } from '#/api/request'; /** 获取服务器配置信息 🔖 GET /api/server/info */
 export const DefaultServerInfo = () => requestClient.get<any>('/server/info');
 
 /** 获取服务器内存信息 🔖 GET /api/server/used */

+ 2 - 2
apps/web-baicai/src/service/apis/Default/SwaggerController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // Swagger 服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** swagger(登录检查) POST /api/swagger/check-url */
+import { requestClient } from '#/api/request'; /** swagger(登录检查) POST /api/swagger/check-url */
 export const DefaultSwaggerCheckUrl = () =>
   requestClient.post<number>('/swagger/check-url');
 

+ 4 - 4
apps/web-baicai/src/service/apis/Default/index.ts

@@ -1,15 +1,15 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
-import * as CacheController from './CacheController';
 // 该文件自动生成,请勿手动修改!        import * as ApipostController from './ApipostController';
 import * as CaptchaController from './CaptchaController';
-import * as CryptogramController from './CryptogramController';
 import * as DynamicsqlController from './DynamicsqlController';
 import * as EnumController from './EnumController';
-import * as FileController from './FileController';
 import * as ServerController from './ServerController';
 import * as SwaggerController from './SwaggerController';
-
+import * as CacheController from './CacheController';
+import * as CryptogramController from './CryptogramController';
+import * as FileController from './FileController';
 export default {
   /** API请求 */
   ApipostController,

+ 3 - 3
apps/web-baicai/src/service/apis/Design/CodeTemplateController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 代码模板服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 代码模板服务 GET /api/code/template/page */
+import { requestClient } from '#/api/request'; /** 代码模板服务 GET /api/code/template/page */
 export const DesignTemplatePage = (params?: {
   /** 名称 */
   Name?: string;
@@ -25,7 +25,7 @@ export const DesignTemplatePage = (params?: {
 /** 代码模板(详情) GET /api/code/template/entity */
 export const DesignTemplateEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.CodeTemplate>('/code/template/entity', { params });
 
 /** 代码模板(选项) GET /api/code/template/options */

+ 8 - 8
apps/web-baicai/src/service/apis/Design/DatabaseController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 数据库管理服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 数据库(数据库列表) GET /api/database/list */
+import { requestClient } from '#/api/request'; /** 数据库(数据库列表) GET /api/database/list */
 export const DesignDatabaseList = () =>
   requestClient.get<API.DatabaseOutput[]>('/database/list');
 
@@ -19,10 +19,10 @@ export const DesignTableList = (params: {
 
 /** 自定义数据库(分页) GET /api/database/table/page */
 export const DesignTablePage = (params?: {
-  /** 表说明 */
-  Description?: string;
   /** 表名 */
   Name?: string;
+  /** 表说明 */
+  Description?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -40,14 +40,14 @@ export const DesignTablePage = (params?: {
 /** 自定义数据库表(详情) GET /api/database/table/entity */
 export const DesignTableEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) =>
   requestClient.get<API.DatabaseTable>('/database/table/entity', { params });
 
 /** 自定义数据库表(创建表) GET /api/database/table/create */
 export const DesignTableCreate = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<any>('/database/table/create', { params });
 
 /** 自定义数据库表(添加) POST /api/database/table */
@@ -68,10 +68,10 @@ export const DesignDbtableDelete = (data: API.TableDeleteParams) =>
 
 /** 数据库(数据库表列表列) GET /api/database/column/list/{tablename}/{configid} */
 export const DesignColumnList = (params: {
-  /** 数据库标识 */
-  configid: string;
   /** 数据库表名 */
   tablename: string;
+  /** 数据库标识 */
+  configid: string;
 }) =>
   requestClient.get<API.TableColumnOuput[]>(
     '/database/column/list/{tablename}/{configid}',

+ 17 - 17
apps/web-baicai/src/service/apis/Design/GenerateController.ts

@@ -1,33 +1,39 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 代码生成服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** page GET /api/generate/page */
+import { requestClient } from '#/api/request'; /** page GET /api/generate/page */
 export const DesignGeneratePage = (params?: {
   /** 作者姓名 */
   AuthorName?: string;
-  /** 业务名(业务代码包名称) */
-  BusinessName?: string;
   /** 类名 */
   ClassName?: string;
+  /** 是否移除表前缀 */
+  TablePrefix?: string;
   /** 库定位器名 */
   ConfigId?: string;
-  /** 数据库链接 */
-  ConnectionString?: string;
   /** 数据库名(保留字段) */
   DbName?: string;
   /** 数据库类型 */
   DbType?: string;
+  /** 数据库链接 */
+  ConnectionString?: string;
   /** 生成方式 */
   GenerateType?: string;
+  /** 数据库表名 */
+  TableName?: string;
+  /** 命名空间 */
+  NameSpace?: string;
+  /** 业务名(业务代码包名称) */
+  BusinessName?: string;
+  /** 功能名(数据库表名称) */
+  TableComment?: string;
   /** 菜单应用分类(应用编码) */
   MenuApplication?: string;
   /** 菜单父级 */
-  MenuId?: string;
-  /** 命名空间 */
-  NameSpace?: string;
+  MenuId?: number;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -36,12 +42,6 @@ export const DesignGeneratePage = (params?: {
   SortField?: string;
   /** SortType */
   SortType?: string;
-  /** 功能名(数据库表名称) */
-  TableComment?: string;
-  /** 数据库表名 */
-  TableName?: string;
-  /** 是否移除表前缀 */
-  TablePrefix?: string;
 }) =>
   requestClient.get<API.SqlSugarPagedList_CodeGenerate>('/generate/page', {
     params,
@@ -50,13 +50,13 @@ export const DesignGeneratePage = (params?: {
 /** 代码生成(详情) GET /api/generate/entity */
 export const DesignGenerateEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.CodeGenerateOutput>('/generate/entity', { params });
 
 /** 代码生成(预览) GET /api/generate/preview */
 export const DesignGeneratePreview = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) =>
   requestClient.get<API.CodeGenerateTemplate[]>('/generate/preview', {
     params,

+ 5 - 5
apps/web-baicai/src/service/apis/Design/QueryController.ts

@@ -1,15 +1,15 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 数据库查询表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 数据库查询表服务 GET /api/query/page */
+import { requestClient } from '#/api/request'; /** 数据库查询表服务 GET /api/query/page */
 export const DesignQueryPage = (params?: {
-  /** 查询编号 */
-  Code?: string;
   /** 查询名称 */
   Name?: string;
+  /** 查询编号 */
+  Code?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -26,7 +26,7 @@ export const DesignQueryPage = (params?: {
 /** 数据库查询表(详情) GET /api/query/entity */
 export const DesignQueryEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) =>
   requestClient.get<API.DatabaseQueryUpdateParams>('/query/entity', { params });
 

+ 3 - 3
apps/web-baicai/src/service/apis/Design/TableQueryController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 查询页面设置表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 查询页面设置表(分页列表) GET /api/table/query/page */
+import { requestClient } from '#/api/request'; /** 查询页面设置表(分页列表) GET /api/table/query/page */
 export const DesignQueryPage = (params?: {
   /** 名称 */
   Name?: string;
@@ -25,7 +25,7 @@ export const DesignQueryPage = (params?: {
 /** 查询页面设置表(详情) GET /api/table/query/entity */
 export const DesignQueryEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.TableQuery>('/table/query/entity', { params });
 
 /** 查询页面设置表(详情) GET /api/table/query/info */

+ 3 - 3
apps/web-baicai/src/service/apis/Design/index.ts

@@ -1,11 +1,11 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
-import * as CodeTemplateController from './CodeTemplateController';
-import * as DatabaseController from './DatabaseController';
 // 该文件自动生成,请勿手动修改!        import * as TableQueryController from './TableQueryController';
 import * as GenerateController from './GenerateController';
+import * as CodeTemplateController from './CodeTemplateController';
+import * as DatabaseController from './DatabaseController';
 import * as QueryController from './QueryController';
-
 export default {
   /** 查询页面设置表服务 */
   TableQueryController,

+ 2 - 2
apps/web-baicai/src/service/apis/Job/JobController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 系统作业信息表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 暂停所有作业 ⏰ POST /api/job/pause */
+import { requestClient } from '#/api/request'; /** 暂停所有作业 ⏰ POST /api/job/pause */
 export const JobJobPause = () => requestClient.post<any>('/job/pause');
 
 /** 启动所有作业 ⏰ POST /api/job/start */

+ 8 - 8
apps/web-baicai/src/service/apis/Job/JobRecordController.ts

@@ -1,15 +1,19 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 系统作业触发器运行记录表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 系统作业触发器运行记录表服务 GET /api/job/record/page */
+import { requestClient } from '#/api/request'; /** 系统作业触发器运行记录表服务 GET /api/job/record/page */
 export const JobRecordPage = (params?: {
-  /** 结束时间 */
-  EndTime?: string;
   /** 作业编号 */
   JobId?: string;
+  /** 触发器编号 */
+  TriggerId?: string;
+  /** 开始时间 */
+  StartTime?: string;
+  /** 结束时间 */
+  EndTime?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -18,10 +22,6 @@ export const JobRecordPage = (params?: {
   SortField?: string;
   /** SortType */
   SortType?: string;
-  /** 开始时间 */
-  StartTime?: string;
-  /** 触发器编号 */
-  TriggerId?: string;
 }) =>
   requestClient.get<API.SqlSugarPagedList_JobTriggerRecordOutput>(
     '/job/record/page',

+ 5 - 5
apps/web-baicai/src/service/apis/Job/JobTermController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 系统作业信息表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 启动作业 ⏰ POST /api/job/term/start */
+import { requestClient } from '#/api/request'; /** 启动作业 ⏰ POST /api/job/term/start */
 export const JobTermStart = (data: API.KeyCodeRequest) =>
   requestClient.post<any>('/job/term/start', data);
 
@@ -22,10 +22,10 @@ export const JobTermRun = (data: API.KeyCodeRequest) =>
 
 /** 系统作业信息表服务 GET /api/job/term/page */
 export const JobTermPage = (params?: {
-  /** 描述信息 */
-  Description?: string;
   /** 作业编号 */
   JobId?: string;
+  /** 描述信息 */
+  Description?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -42,7 +42,7 @@ export const JobTermPage = (params?: {
 /** 系统作业信息表(详情) GET /api/job/term/entity */
 export const JobTermEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.Job>('/job/term/entity', { params });
 
 /** 系统作业信息表(增加) POST /api/job/term */

+ 3 - 3
apps/web-baicai/src/service/apis/Job/JobTriggerController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 系统作业触发器表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 启动作业触发器 ⏰ POST /api/job/trigger/start */
+import { requestClient } from '#/api/request'; /** 启动作业触发器 ⏰ POST /api/job/trigger/start */
 export const JobTriggerStart = (data: API.JobTriggerParams) =>
   requestClient.post<any>('/job/trigger/start', data);
 
@@ -30,7 +30,7 @@ export const JobTriggerList = (params?: {
 /** 系统作业触发器表(详情) GET /api/job/trigger/entity */
 export const JobTriggerEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.JobTrigger>('/job/trigger/entity', { params });
 
 /** 系统作业触发器表(增加) POST /api/job/trigger */

+ 2 - 2
apps/web-baicai/src/service/apis/Job/index.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
-import * as JobRecordController from './JobRecordController';
 // 该文件自动生成,请勿手动修改!        import * as JobController from './JobController';
 import * as JobTermController from './JobTermController';
 import * as JobTriggerController from './JobTriggerController';
-
+import * as JobRecordController from './JobRecordController';
 export default {
   /** 系统作业信息表服务 */
   JobController,

+ 4 - 4
apps/web-baicai/src/service/apis/Logging/LogauditController.ts

@@ -1,11 +1,13 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 审计日志表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 审计日志表(分页列表) GET /api/logaudit/page */
+import { requestClient } from '#/api/request'; /** 审计日志表(分页列表) GET /api/logaudit/page */
 export const LoggingLogauditPage = (params?: {
+  /** 开始时间 */
+  StartTime?: string;
   /** 结束时间 */
   EndTime?: string;
   /** PageIndex */
@@ -16,8 +18,6 @@ export const LoggingLogauditPage = (params?: {
   SortField?: string;
   /** SortType */
   SortType?: string;
-  /** 开始时间 */
-  StartTime?: string;
 }) =>
   requestClient.get<API.SqlSugarPagedList_LogAuditOutput>('/logaudit/page', {
     params,

+ 4 - 4
apps/web-baicai/src/service/apis/Logging/LogdifferenceController.ts

@@ -1,11 +1,13 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 差异日志表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 差异日志表(分页列表) GET /api/logdifference/page */
+import { requestClient } from '#/api/request'; /** 差异日志表(分页列表) GET /api/logdifference/page */
 export const LoggingLogdifferencePage = (params?: {
+  /** 开始时间 */
+  StartTime?: string;
   /** 结束时间 */
   EndTime?: string;
   /** PageIndex */
@@ -16,8 +18,6 @@ export const LoggingLogdifferencePage = (params?: {
   SortField?: string;
   /** SortType */
   SortType?: string;
-  /** 开始时间 */
-  StartTime?: string;
 }) =>
   requestClient.get<API.SqlSugarPagedList_LogDifferenceOutput>(
     '/logdifference/page',

+ 4 - 4
apps/web-baicai/src/service/apis/Logging/LogexceptionController.ts

@@ -1,11 +1,13 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 异常日志表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 异常日志表(分页列表) GET /api/logexception/page */
+import { requestClient } from '#/api/request'; /** 异常日志表(分页列表) GET /api/logexception/page */
 export const LoggingLogexceptionPage = (params?: {
+  /** 开始时间 */
+  StartTime?: string;
   /** 结束时间 */
   EndTime?: string;
   /** PageIndex */
@@ -16,8 +18,6 @@ export const LoggingLogexceptionPage = (params?: {
   SortField?: string;
   /** SortType */
   SortType?: string;
-  /** 开始时间 */
-  StartTime?: string;
 }) =>
   requestClient.get<API.SqlSugarPagedList_LogExceptionOutput>(
     '/logexception/page',

+ 4 - 4
apps/web-baicai/src/service/apis/Logging/LogoperateController.ts

@@ -1,11 +1,13 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 操作日志表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 操作日志表(分页列表) GET /api/logoperate/page */
+import { requestClient } from '#/api/request'; /** 操作日志表(分页列表) GET /api/logoperate/page */
 export const LoggingLogoperatePage = (params?: {
+  /** 开始时间 */
+  StartTime?: string;
   /** 结束时间 */
   EndTime?: string;
   /** PageIndex */
@@ -16,8 +18,6 @@ export const LoggingLogoperatePage = (params?: {
   SortField?: string;
   /** SortType */
   SortType?: string;
-  /** 开始时间 */
-  StartTime?: string;
 }) =>
   requestClient.get<API.SqlSugarPagedList_LogOperateOutput>(
     '/logoperate/page',

+ 4 - 4
apps/web-baicai/src/service/apis/Logging/LogvisitController.ts

@@ -1,11 +1,13 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 访问日志表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 访问日志表(分页列表) GET /api/logvisit/page */
+import { requestClient } from '#/api/request'; /** 访问日志表(分页列表) GET /api/logvisit/page */
 export const LoggingLogvisitPage = (params?: {
+  /** 开始时间 */
+  StartTime?: string;
   /** 结束时间 */
   EndTime?: string;
   /** PageIndex */
@@ -16,8 +18,6 @@ export const LoggingLogvisitPage = (params?: {
   SortField?: string;
   /** SortType */
   SortType?: string;
-  /** 开始时间 */
-  StartTime?: string;
 }) =>
   requestClient.get<API.SqlSugarPagedList_LogVisitOutput>('/logvisit/page', {
     params,

+ 1 - 1
apps/web-baicai/src/service/apis/Logging/index.ts

@@ -1,11 +1,11 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!        import * as LogauditController from './LogauditController';
 import * as LogdifferenceController from './LogdifferenceController';
 import * as LogexceptionController from './LogexceptionController';
 import * as LogoperateController from './LogoperateController';
 import * as LogvisitController from './LogvisitController';
-
 export default {
   /** 审计日志表服务 */
   LogauditController,

+ 21 - 0
apps/web-baicai/src/service/apis/Plugins/DynamicapiController.ts

@@ -0,0 +1,21 @@
+// @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
+
+// 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
+// 动态接口服务            // --------------------------------------------------------------------------
+
+import { requestClient } from '#/api/request'; /** 动态接口(添加) POST /api/dynamicapi */
+export const PluginsDynamicapi = (data: string) =>
+  requestClient.post<string>('/dynamicapi', data);
+
+/** 动态接口(删除) DELETE /api/dynamicapi/{assemblyname} */
+export const PluginsDynamicapi = (params: {
+  /** assemblyname */
+  assemblyname: string;
+}) => requestClient.delete<any>('/dynamicapi/{assemblyname}', { params });
+export default {
+  /** 动态接口(添加) POST /api/dynamicapi */
+  PluginsDynamicapi,
+  /** 动态接口(删除) DELETE /api/dynamicapi/{assemblyname} */
+  PluginsDynamicapi,
+};

+ 13 - 0
apps/web-baicai/src/service/apis/Plugins/EmailController.ts

@@ -0,0 +1,13 @@
+// @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
+
+// 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
+// 邮件管理            // --------------------------------------------------------------------------
+
+import { requestClient } from '#/api/request'; /** 发送邮件 POST /api/email/send-email */
+export const PluginsEmailSendEmail = (data: API.EmailSendRequest) =>
+  requestClient.post<any>('/email/send-email', data);
+export default {
+  /** 发送邮件 POST /api/email/send-email */
+  PluginsEmailSendEmail,
+};

+ 43 - 0
apps/web-baicai/src/service/apis/Plugins/PluginsConfigController.ts

@@ -0,0 +1,43 @@
+// @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
+
+// 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
+// 短信配置表服务            // --------------------------------------------------------------------------
+
+import { requestClient } from '#/api/request'; /** 短信配置 GET /api/plugins/config/sms/entity */
+export const PluginsSmsEntity = () =>
+  requestClient.get<API.SmsConfig>('/plugins/config/sms/entity');
+
+/** 邮箱配置 GET /api/plugins/config/email/entity */
+export const PluginsEmailEntity = () =>
+  requestClient.get<API.EmailConfig>('/plugins/config/email/entity');
+
+/** 三方配置 GET /api/plugins/config/sync/entity */
+export const PluginsSyncEntity = () =>
+  requestClient.get<API.DataSyncConfig>('/plugins/config/sync/entity');
+
+/** 短信配置表(增加) POST /api/plugins/config/sms */
+export const PluginsConfigSms = (data: API.SmsConfig) =>
+  requestClient.post<any>('/plugins/config/sms', data);
+
+/** 短信配置表(增加) POST /api/plugins/config/email */
+export const PluginsConfigEmail = (data: API.EmailConfig) =>
+  requestClient.post<any>('/plugins/config/email', data);
+
+/** 三方配置(增加) POST /api/plugins/config/sync */
+export const PluginsConfigSync = (data: API.DataSyncConfig) =>
+  requestClient.post<any>('/plugins/config/sync', data);
+export default {
+  /** 短信配置 GET /api/plugins/config/sms/entity */
+  PluginsSmsEntity,
+  /** 邮箱配置 GET /api/plugins/config/email/entity */
+  PluginsEmailEntity,
+  /** 三方配置 GET /api/plugins/config/sync/entity */
+  PluginsSyncEntity,
+  /** 短信配置表(增加) POST /api/plugins/config/sms */
+  PluginsConfigSms,
+  /** 短信配置表(增加) POST /api/plugins/config/email */
+  PluginsConfigEmail,
+  /** 三方配置(增加) POST /api/plugins/config/sync */
+  PluginsConfigSync,
+};

+ 70 - 0
apps/web-baicai/src/service/apis/Plugins/PluginsTemplateController.ts

@@ -0,0 +1,70 @@
+// @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
+
+// 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
+// 短信模板表服务            // --------------------------------------------------------------------------
+
+import { requestClient } from '#/api/request'; /** 短信模板表(分页列表) GET /api/plugins/template/page */
+export const PluginsTemplatePage = (params?: {
+  /** 插件类型 */
+  PluginsType?: PluginsType;
+  /** 编码 */
+  Code?: string;
+  /** 名称 */
+  Name?: string;
+  /** 插件签名 */
+  SignName?: string;
+  /** 模板标识 */
+  TemplateCode?: string;
+  /** PageIndex */
+  PageIndex?: number;
+  /** PageSize */
+  PageSize?: number;
+  /** SortField */
+  SortField?: string;
+  /** SortType */
+  SortType?: string;
+}) =>
+  requestClient.get<API.SqlSugarPagedList_TemplateOutput>(
+    '/plugins/template/page',
+    { params },
+  );
+
+/** 短信模板表(详情) GET /api/plugins/template/entity */
+export const PluginsTemplateEntity = (params: {
+  /** Id */
+  Id: number;
+}) =>
+  requestClient.get<API.PluginsTemplate>('/plugins/template/entity', {
+    params,
+  });
+
+/** 短信模板表(增加) POST /api/plugins/template */
+export const PluginsPluginsTemplate = (data: API.SmsTemplateCreateParams) =>
+  requestClient.post<any>('/plugins/template', data);
+
+/** 短信模板表(更新) POST /api/plugins/template/update */
+export const PluginsTemplateUpdate = (data: API.SmsTemplateUpdateParams) =>
+  requestClient.post<any>('/plugins/template/update', data);
+
+/** 短信模板表(删除) POST /api/plugins/template/delete */
+export const PluginsTemplateDelete = (data: API.KeyRequest) =>
+  requestClient.post<any>('/plugins/template/delete', data);
+
+/** 短信模板表(批量删除) POST /api/plugins/template/batch/delete */
+export const PluginsBatchDelete = (data: API.any[]) =>
+  requestClient.post<any>('/plugins/template/batch/delete', data);
+export default {
+  /** 短信模板表(分页列表) GET /api/plugins/template/page */
+  PluginsTemplatePage,
+  /** 短信模板表(详情) GET /api/plugins/template/entity */
+  PluginsTemplateEntity,
+  /** 短信模板表(增加) POST /api/plugins/template */
+  PluginsPluginsTemplate,
+  /** 短信模板表(更新) POST /api/plugins/template/update */
+  PluginsTemplateUpdate,
+  /** 短信模板表(删除) POST /api/plugins/template/delete */
+  PluginsTemplateDelete,
+  /** 短信模板表(批量删除) POST /api/plugins/template/batch/delete */
+  PluginsBatchDelete,
+};

+ 19 - 0
apps/web-baicai/src/service/apis/Plugins/SmsController.ts

@@ -0,0 +1,19 @@
+// @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
+
+// 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
+// 系统短信服务 🧩            // --------------------------------------------------------------------------
+
+import { requestClient } from '#/api/request'; /** 发送短信 📨 POST /api/sms/send-sms */
+export const PluginsSmsSendSms = (data: API.SmsSendRequest) =>
+  requestClient.post<any>('/sms/send-sms', data);
+
+/** 校验短信验证码 POST /api/sms/verify-code */
+export const PluginsSmsVerifyCode = (data: API.SmsVerifyRequest) =>
+  requestClient.post<boolean>('/sms/verify-code', data);
+export default {
+  /** 发送短信 📨 POST /api/sms/send-sms */
+  PluginsSmsSendSms,
+  /** 校验短信验证码 POST /api/sms/verify-code */
+  PluginsSmsVerifyCode,
+};

+ 20 - 0
apps/web-baicai/src/service/apis/Plugins/index.ts

@@ -0,0 +1,20 @@
+// @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
+
+// 该文件自动生成,请勿手动修改!        import * as DynamicapiController from './DynamicapiController';
+import * as PluginsConfigController from './PluginsConfigController';
+import * as EmailController from './EmailController';
+import * as SmsController from './SmsController';
+import * as PluginsTemplateController from './PluginsTemplateController';
+export default {
+  /** 动态接口服务 */
+  DynamicapiController,
+  /** 短信配置表服务 */
+  PluginsConfigController,
+  /** 邮件管理 */
+  EmailController,
+  /** 系统短信服务 🧩 */
+  SmsController,
+  /** 短信模板表服务 */
+  PluginsTemplateController,
+};

+ 6 - 6
apps/web-baicai/src/service/apis/System/ConfigController.ts

@@ -1,17 +1,17 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 参数配置服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 参数配置(分页列表) GET /api/config/page */
+import { requestClient } from '#/api/request'; /** 参数配置(分页列表) GET /api/config/page */
 export const SystemConfigPage = (params?: {
+  /** 名称 */
+  Name?: string;
   /** 编码 */
   Code?: string;
   /** 分组编码 */
   GroupCode?: string;
-  /** 名称 */
-  Name?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -38,7 +38,7 @@ export const SystemConfigGroupList = () =>
 /** 参数配置(详情) GET /api/config/entity */
 export const SystemConfigEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.Config>('/config/entity', { params });
 
 /** 参数配置(增加) POST /api/config */
@@ -54,7 +54,7 @@ export const SystemConfigDelete = (data: API.KeyRequest) =>
   requestClient.post<any>('/config/delete', data);
 
 /** 参数配置(批量删除) POST /api/config/batch/delete */
-export const SystemBatchDelete = (data: API.string[]) =>
+export const SystemBatchDelete = (data: API.number[]) =>
   requestClient.post<any>('/config/batch/delete', data);
 export default {
   /** 参数配置(分页列表) GET /api/config/page */

+ 5 - 5
apps/web-baicai/src/service/apis/System/DepartmentController.ts

@@ -1,15 +1,15 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 机构管理服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 机构(树型列表) GET /api/department/tree */
+import { requestClient } from '#/api/request'; /** 机构(树型列表) GET /api/department/tree */
 export const SystemDepartmentTree = (params?: {
-  /** 机构编号 */
-  Code?: string;
   /** 机构名称 */
   Name?: string;
+  /** 机构编号 */
+  Code?: string;
   /** 机构类型 */
   OrgType?: string;
 }) => requestClient.get<API.Department[]>('/department/tree', { params });
@@ -17,7 +17,7 @@ export const SystemDepartmentTree = (params?: {
 /** 机构(详情) GET /api/department/entity */
 export const SystemDepartmentEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.Department>('/department/entity', { params });
 
 /** 机构(选项) GET /api/department/tree-options */

+ 8 - 8
apps/web-baicai/src/service/apis/System/DictionaryController.ts

@@ -1,15 +1,15 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 系统字典类型表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 系统字典类型表(分页列表) GET /api/dictionary/type/page */
+import { requestClient } from '#/api/request'; /** 系统字典类型表(分页列表) GET /api/dictionary/type/page */
 export const SystemTypePage = (params?: {
-  /** 编码 */
-  Code?: string;
   /** 名称 */
   Name?: string;
+  /** 编码 */
+  Code?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -27,7 +27,7 @@ export const SystemTypePage = (params?: {
 /** 系统字典类型表(详情) GET /api/dictionary/type/entity */
 export const SystemTypeEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.Dictionary>('/dictionary/type/entity', { params });
 
 /** 系统字典类型表(增加) POST /api/dictionary/type */
@@ -48,10 +48,10 @@ export const SystemBatchDelete = (data: API.any[]) =>
 
 /** 系统字典值表(分页列表) GET /api/dictionary/item/page */
 export const SystemItemPage = (params?: {
-  /** 编码 */
-  Code?: string;
   /** 字典类型 */
   Type?: string;
+  /** 编码 */
+  Code?: string;
   /** 值 */
   Value?: string;
 }) =>
@@ -71,7 +71,7 @@ export const SystemItemListCode = (params?: {
 /** 系统字典值表(详情) GET /api/dictionary/item/entity */
 export const SystemItemEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) =>
   requestClient.get<API.DictionaryDetail>('/dictionary/item/entity', {
     params,

+ 3 - 3
apps/web-baicai/src/service/apis/System/MenuController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 菜单服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 菜单(分页列表) GET /api/menu/list */
+import { requestClient } from '#/api/request'; /** 菜单(分页列表) GET /api/menu/list */
 export const SystemMenuList = (params?: {
   /** 标题 */
   Title?: string;
@@ -19,7 +19,7 @@ export const SystemMenuTree = () =>
 /** 菜单(详情) GET /api/menu/entity */
 export const SystemMenuEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.Menu>('/menu/entity', { params });
 
 /** 菜单(增加) POST /api/menu */

+ 5 - 5
apps/web-baicai/src/service/apis/System/PostController.ts

@@ -1,15 +1,15 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 岗位表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 岗位表(分页列表) GET /api/post/page */
+import { requestClient } from '#/api/request'; /** 岗位表(分页列表) GET /api/post/page */
 export const SystemPostPage = (params?: {
-  /** 编码 */
-  Code?: string;
   /** 名称 */
   Name?: string;
+  /** 编码 */
+  Code?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -24,7 +24,7 @@ export const SystemPostPage = (params?: {
 /** 岗位表(详情) GET /api/post/entity */
 export const SystemPostEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.Post>('/post/entity', { params });
 
 /** 岗位表(选项) GET /api/post/options */

+ 18 - 18
apps/web-baicai/src/service/apis/System/RoleController.ts

@@ -1,15 +1,15 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 角色表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 角色表(分页列表) GET /api/role/page */
+import { requestClient } from '#/api/request'; /** 角色表(分页列表) GET /api/role/page */
 export const SystemRolePage = (params?: {
-  /** 编码 */
-  Code?: string;
   /** 名称 */
   Name?: string;
+  /** 编码 */
+  Code?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
@@ -30,7 +30,7 @@ export const SystemRoleList = (params?: {
 /** 角色表(详情) GET /api/role/entity */
 export const SystemRoleEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.Role>('/role/entity', { params });
 
 /** 角色表(增加) POST /api/role */
@@ -56,7 +56,7 @@ export const SystemRoleStatus = (data: API.StatusRequest) =>
 /** 角色菜单关系表(菜单ID列表) GET /api/role/menu-ids */
 export const SystemRoleMenuIds = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<string[]>('/role/menu-ids', { params });
 
 /** 角色表(授权菜单) POST /api/role/grant */
@@ -66,7 +66,7 @@ export const SystemRoleGrant = (data: API.RelationRequest) =>
 /** 角色表(用户ID) GET /api/role/user-ids */
 export const SystemRoleUserIds = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<string[]>('/role/user-ids', { params });
 
 /** 角色表(授权用户) POST /api/role/grant-user */
@@ -77,16 +77,16 @@ export const SystemRoleGrantUser = (data: API.RelationRequest) =>
 export const SystemRoleStatistics = () =>
   requestClient.get<API.RoleStatistics[]>('/role/statistics');
 
-/** 角色表(获取数据范围) GET /api/role/data-scope */
-export const SystemRoleDataScope = (params: {
+/** 角色表(获取数据范围) GET /api/role/getdatascope */
+export const SystemRoleGetdatascope = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) =>
-  requestClient.get<API.RoleRelationRequest>('/role/data-scope', { params });
+  requestClient.get<API.RoleRelationRequest>('/role/getdatascope', { params });
 
-/** 角色表(修改数据范围) POST /api/role/data-scope */
-export const SystemRoleDataScope = (data: API.RoleRelationRequest) =>
-  requestClient.post<any>('/role/data-scope', data);
+/** 角色表(修改数据范围) POST /api/role/updatedatascope */
+export const SystemRoleUpdatedatascope = (data: API.RoleRelationRequest) =>
+  requestClient.post<any>('/role/updatedatascope', data);
 export default {
   /** 角色表(分页列表) GET /api/role/page */
   SystemRolePage,
@@ -114,8 +114,8 @@ export default {
   SystemRoleGrantUser,
   /** 角色表(列表统计用户) GET /api/role/statistics */
   SystemRoleStatistics,
-  /** 角色表(获取数据范围) GET /api/role/data-scope */
-  SystemRoleDataScope,
-  /** 角色表(修改数据范围) POST /api/role/data-scope */
-  SystemRoleDataScope,
+  /** 角色表(获取数据范围) GET /api/role/getdatascope */
+  SystemRoleGetdatascope,
+  /** 角色表(修改数据范围) POST /api/role/updatedatascope */
+  SystemRoleUpdatedatascope,
 };

+ 2 - 2
apps/web-baicai/src/service/apis/System/SecurityController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 登录授权服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 用户登录 POST /api/security/login */
+import { requestClient } from '#/api/request'; /** 用户登录 POST /api/security/login */
 export const SystemSecurityLogin = (data: API.LoginRequest) =>
   requestClient.post<API.LoginOutput>('/security/login', data);
 

+ 8 - 2
apps/web-baicai/src/service/apis/System/SyncController.ts

@@ -1,19 +1,25 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 同步服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 根据Code登录 POST /api/sync/login */
+import { requestClient } from '#/api/request'; /** 根据Code登录 POST /api/sync/login */
 export const SystemSyncLogin = (data: API.KeyCodeRequest) =>
   requestClient.post<API.LoginOutput>('/sync/login', data);
 
+/** 获取跳转URL GET /api/sync/authorize */
+export const SystemSyncAuthorize = () =>
+  requestClient.get<API.AuthorizeOutput>('/sync/authorize');
+
 /** 获取用户信息 GET /api/sync/user-info */
 export const SystemSyncUserInfo = () =>
   requestClient.get<API.UserInfo>('/sync/user-info');
 export default {
   /** 根据Code登录 POST /api/sync/login */
   SystemSyncLogin,
+  /** 获取跳转URL GET /api/sync/authorize */
+  SystemSyncAuthorize,
   /** 获取用户信息 GET /api/sync/user-info */
   SystemSyncUserInfo,
 };

+ 6 - 6
apps/web-baicai/src/service/apis/System/TenantController.ts

@@ -1,19 +1,19 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 租户服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 系统租户(分页列表) GET /api/tenant/page */
+import { requestClient } from '#/api/request'; /** 系统租户(分页列表) GET /api/tenant/page */
 export const SystemTenantPage = (params?: {
   /** 名称 */
   Name?: string;
+  /** 电话 */
+  Phone?: string;
   /** PageIndex */
   PageIndex?: number;
   /** PageSize */
   PageSize?: number;
-  /** 电话 */
-  Phone?: string;
   /** SortField */
   SortField?: string;
   /** SortType */
@@ -34,7 +34,7 @@ export const SystemTenantList = () =>
 /** 系统租户(详情) GET /api/tenant/entity */
 export const SystemTenantEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.TenantOutput>('/tenant/entity', { params });
 
 /** 系统租户(增加) POST /api/tenant */
@@ -56,7 +56,7 @@ export const SystemTenantDb = (data: API.KeyRequest) =>
 /** 系统租户(菜单ID) GET /api/tenant/menu-ids */
 export const SystemTenantMenuIds = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<string[]>('/tenant/menu-ids', { params });
 
 /** 系统租户(授权菜单) POST /api/tenant/grant */

+ 6 - 6
apps/web-baicai/src/service/apis/System/UserController.ts

@@ -1,15 +1,15 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 用户表服务            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 用户表(分页列表) GET /api/user/page */
+import { requestClient } from '#/api/request'; /** 用户表(分页列表) GET /api/user/page */
 export const SystemUserPage = (params?: {
+  /** 机构ID */
+  DepartmentId?: number;
   /** 账号 */
   Account?: string;
-  /** 机构ID */
-  DepartmentId?: string;
   /** 姓名 */
   Name?: string;
   /** PageIndex */
@@ -32,7 +32,7 @@ export const SystemUserList = (params?: {
 /** 用户表(详情) GET /api/user/entity */
 export const SystemUserEntity = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<API.User>('/user/entity', { params });
 
 /** 用户表(增加) POST /api/user */
@@ -70,7 +70,7 @@ export const SystemUserAvatar = (data: FormData) =>
 /** 用户表(角色ID) GET /api/user/role-ids */
 export const SystemUserRoleIds = (params: {
   /** Id */
-  Id: string;
+  Id: number;
 }) => requestClient.get<string[]>('/user/role-ids', { params });
 
 /** 角色表(授权角色) POST /api/user/grant */

+ 4 - 4
apps/web-baicai/src/service/apis/System/index.ts

@@ -1,16 +1,16 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
-import * as ConfigController from './ConfigController';
-import * as DepartmentController from './DepartmentController';
 // 该文件自动生成,请勿手动修改!        import * as SyncController from './SyncController';
 import * as DictionaryController from './DictionaryController';
 import * as MenuController from './MenuController';
+import * as DepartmentController from './DepartmentController';
 import * as PostController from './PostController';
 import * as RoleController from './RoleController';
+import * as UserController from './UserController';
 import * as SecurityController from './SecurityController';
 import * as TenantController from './TenantController';
-import * as UserController from './UserController';
-
+import * as ConfigController from './ConfigController';
 export default {
   /** 同步服务 */
   SyncController,

+ 2 - 2
apps/web-baicai/src/service/apis/Wechat/OfficialaccountController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 微信公众号服务 🧩            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 微信公众号(生成网页授权Url) GET /api/officialaccount/auth-url */
+import { requestClient } from '#/api/request'; /** 微信公众号(生成网页授权Url) GET /api/officialaccount/auth-url */
 export const WechatOfficialaccountAuthUrl = (params?: {
   /** RedirectUrl */
   RedirectUrl?: string;

+ 2 - 2
apps/web-baicai/src/service/apis/Wechat/ProgramController.ts

@@ -1,10 +1,10 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!            // --------------------------------------------------------------------------
 // 微信小程序服务 🧩            // --------------------------------------------------------------------------
 
-import { requestClient } from '#/api/request';
-/** 微信小程序(OpenId) GET /api/program/open-id */
+import { requestClient } from '#/api/request'; /** 微信小程序(OpenId) GET /api/program/open-id */
 export const WechatProgramOpenId = (params: {
   /** Code */
   Code: string;

+ 1 - 1
apps/web-baicai/src/service/apis/Wechat/index.ts

@@ -1,8 +1,8 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!        import * as OfficialaccountController from './OfficialaccountController';
 import * as ProgramController from './ProgramController';
-
 export default {
   /** 微信公众号服务 🧩 */
   OfficialaccountController,

+ 1 - 0
apps/web-baicai/src/service/enums.ts

@@ -1,4 +1,5 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!
 

+ 6 - 4
apps/web-baicai/src/service/index.ts

@@ -1,12 +1,13 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
-import * as Design from './apis/Design';
-import * as Job from './apis/Job';
-import * as Logging from './apis/Logging';
 // 该文件自动生成,请勿手动修改!import * as Default from './apis/Default';
 import * as System from './apis/System';
+import * as Design from './apis/Design';
+import * as Logging from './apis/Logging';
+import * as Job from './apis/Job';
 import * as Wechat from './apis/Wechat';
-
+import * as Plugins from './apis/Plugins';
 export default {
   Default,
   System,
@@ -14,4 +15,5 @@ export default {
   Logging,
   Job,
   Wechat,
+  Plugins,
 };

+ 3126 - 2873
apps/web-baicai/src/service/typing.d.ts

@@ -1,55 +1,54 @@
 // @ts-nocheck - 自动生成的文件,跳过 TypeScript 类型检查
+/* eslint-disable no-unused-vars, @typescript-eslint/no-unused-vars, no-undef, @typescript-eslint/no-explicit-any */
 
 // 该文件自动生成,请勿手动修改!
 
 declare namespace API {
   /** 分页查询请求参数基类型 */
   type PageQueryType = {
-    /** 降序排序(不要问我为什么是descend不是desc,前端约定参数就是这样) */
-    descStr?: string;
     /** 当前页值 */
     pageIndex: number;
-
     /** 每页大小 */
     pageSize: number;
+
+    /** 搜索值 */
+    searchValue?: string;
     /** 搜索开始时间 */
     searchBeginTime?: string;
     /** 搜索结束时间 */
     searchEndTime?: string;
-    /** 复杂查询条件 */
-    searchParameters?: Condition[];
-    /** 搜索值 */
-    searchValue?: string;
     /** 排序字段 */
     sortField?: string;
     /** 排序方法,默认升序,否则降序(配合antd前端,约定参数为 Ascend,Dscend) */
     sortOrder?: string;
+    /** 降序排序(不要问我为什么是descend不是desc,前端约定参数就是这样) */
+    descStr?: string;
+    /** 复杂查询条件 */
+    searchParameters?: Condition[];
   };
 
   /** 后端服务请求返回参数 */
   type ResponseType<T = any> = {
+    /** 执行成功 */
+    success?: boolean;
     /** 状态码 */
     code?: number;
-    /** 数据 */
-    data?: T;
     /** 错误码 */
     errorCode?: number;
     /** 错误信息 */
     errorMessage?: any;
-    /** 附加数据 */
-    extras?: any;
     /** 消息显示类型 */
     showType?: number;
-    /** 执行成功 */
-    success?: boolean;
+    /** 数据 */
+    data?: T;
+    /** 附加数据 */
+    extras?: any;
     /** 时间戳 */
     timestamp?: number;
   };
 
   /** 分页数据对象 */
   type PageResponse<T = any> = {
-    /** 数据行  */
-    items?: T[];
     /** 当前页值  */
     pageIndex: number;
     /** 每页大小 */
@@ -58,6 +57,8 @@ declare namespace API {
     totalCount: number;
     /** 总页数 */
     totalPage?: number;
+    /** 数据行  */
+    items?: T[];
   };
 
   /** 微信(配置签名) */
@@ -68,22 +69,22 @@ declare namespace API {
 
   /** 微信(生成带参数小程序二维码) */
   export type CreateQRImageParams = {
-    /** 文件保存的名称 */
-    imageName?: string;
     /** 扫码进入的小程序页面路径,最大长度 128 个字符,不能为空; eg: pages/index?id=0001 */
     pagePath?: string;
+    /** 文件保存的名称 */
+    imageName?: string;
     /** 图片宽度 默认430 */
     width?: number;
   };
 
   /** 微信(增加订阅消息模板) */
   export type CreateTemplateParams = {
+    /** 模板标题Id */
+    templateTitleId: string;
     /** 模板关键词列表,例如 [3,5,4] */
     keyworkIdList: number[];
     /** 服务场景描述,15个字以内 */
     sceneDescription: string;
-    /** 模板标题Id */
-    templateTitleId: string;
   };
 
   export type DataItem = {
@@ -104,42 +105,42 @@ declare namespace API {
 
   /** 微信(生成小程序二维码) */
   export type QRImageOutput = {
+    /** 状态 */
+    success?: boolean;
     /** 地址 */
     imgPath?: string;
     /** 消息 */
     message?: string;
-    /** 状态 */
-    success?: boolean;
   };
 
   /** 微信(发送消息) */
   export type SendMessageRequest = {
-    /** 模板数据,格式形如 { "key1": { "value": any }, "key2": { "value": any } } */
-    data: any;
-    /** 所需跳转到小程序的具体页面路径,支持带参数,(示例index?foo=bar) */
-    miniProgramPagePath?: string;
     /** 订阅模板Id */
     templateId: string;
     /** 接收者的OpenId */
     toUserOpenId: string;
+    /** 模板数据,格式形如 { "key1": { "value": any }, "key2": { "value": any } } */
+    data: any;
     /** 模板跳转链接 */
     url?: string;
+    /** 所需跳转到小程序的具体页面路径,支持带参数,(示例index?foo=bar) */
+    miniProgramPagePath?: string;
   };
 
   /** 微信(发送消息小程序) */
   export type SendSubscribeMessageRequest = {
+    /** 订阅模板Id */
+    templateId: string;
+    /** 接收者的OpenId */
+    toUserOpenId: string;
     /** 模板内容,格式形如 { "key1": { "value": any }, "key2": { "value": any } } */
     data: any;
+    /** 跳转小程序类型 */
+    miniprogramState?: string;
     /** 语言类型 */
     language?: string;
     /** 点击模板卡片后的跳转页面(仅限本小程序内的页面),支持带参数(示例pages/app/index?foo=bar) */
     miniProgramPagePath?: string;
-    /** 跳转小程序类型 */
-    miniprogramState?: string;
-    /** 订阅模板Id */
-    templateId: string;
-    /** 接收者的OpenId */
-    toUserOpenId: string;
   };
 
   /** 微信(删除消息模板) */
@@ -149,42 +150,42 @@ declare namespace API {
   };
 
   export type XnRestfulResult_Object = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: any;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_QRImageOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: QRImageOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_String = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: string;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   /** 接口/动态API输出 */
   export type ApiOutput = {
     /** 组名称 */
     group?: string;
-    /** 请求方式 */
-    method?: string;
     /** 接口名称 */
     name?: string;
     /** 路由名称 */
     path?: string;
+    /** 请求方式 */
+    method?: string;
     /** 参数 */
     request?: ApiParameterOutput[];
   };
@@ -207,18 +208,18 @@ declare namespace API {
 
   /** 上传文件Base64 */
   export type Base64FileCreateParams = {
-    /** 允许格式:.jpeg.jpg.png.bmp.gif.tif */
-    allowSuffix?: string;
+    /** 文件名 */
+    fileName?: string;
     /** 文件内容 */
     base64?: string;
+    /** 文件路径 */
+    path?: string;
     /** 文件保存路径 */
     directory?: string;
-    /** 文件名 */
-    fileName?: string;
+    /** 允许格式:.jpeg.jpg.png.bmp.gif.tif */
+    allowSuffix?: string;
     /** 文件夹ID */
-    folderId?: string;
-    /** 文件路径 */
-    path?: string;
+    folderId?: number;
   };
 
   /** 缓存参数 */
@@ -237,12 +238,12 @@ declare namespace API {
 
   /** 常规验证码输入 */
   export type CaptchaParams = {
-    /** 验证码高度 */
-    height?: number;
     /** 验证码长度 */
     length?: number;
     /** 验证码宽度 */
     width?: number;
+    /** 验证码高度 */
+    height?: number;
   };
 
   /** 验证码输出参数 */
@@ -254,52 +255,52 @@ declare namespace API {
   };
 
   export type DiskInfo = {
-    availableFreeSpace?: number;
-    availablePercent?: number;
     diskName?: string;
+    typeName?: string;
     totalFree?: number;
     totalSize?: number;
-    typeName?: string;
     used?: number;
+    availableFreeSpace?: number;
+    availablePercent?: number;
   };
 
   /** 系统文件(分页参数) */
   export type FileOutput = {
+    /** 主键 */
+    id?: number;
+    /** 文件夹ID */
+    folderId?: number;
+    /** 提供者 */
+    provider?: string;
     /** 仓储名称 */
     bucketName?: string;
     /** 文件名称(源文件名) */
     fileName?: string;
+    /** 文件后缀 */
+    suffix?: string;
     /** 存储路径 */
     filePath?: string;
+    /** 文件大小KB */
+    sizeKb?: number;
+    /** 文件大小信息-计算后的 */
+    sizeInfo?: string;
+    /** 外链地址-OSS上传后生成外链地址方便前端预览 */
+    url?: string;
+    /** 关联对象名称(如子对象) */
+    relationName?: string;
     /** 文件类别 */
     fileType?: string;
-    /** 文件夹ID */
-    folderId?: string;
-    /** 主键 */
-    id?: string;
     /** 是否公开
 若为true则所有人都可以查看,默认只有自己或有权限的可以查看 */
     isPublic?: boolean;
-    /** 提供者 */
-    provider?: string;
-    /** 关联对象名称(如子对象) */
-    relationName?: string;
-    /** 文件大小信息-计算后的 */
-    sizeInfo?: string;
-    /** 文件大小KB */
-    sizeKb?: string;
-    /** 文件后缀 */
-    suffix?: string;
-    /** 外链地址-OSS上传后生成外链地址方便前端预览 */
-    url?: string;
   };
 
   /** 系统文件(上传) */
   export type FileUploadOutput = {
-    /** 文件夹ID */
-    folderId?: string;
     /** 主键 */
-    id?: string;
+    id?: number;
+    /** 文件夹ID */
+    folderId?: number;
     /** 外链地址-OSS上传后生成外链地址方便前端预览 */
     url?: string;
   };
@@ -309,21 +310,21 @@ declare namespace API {
   };
 
   export type KeyRequest = {
-    id: string;
+    id: number;
   };
 
   /** 系统文件(上传) */
   export type MultipleFileOutput = {
     /** 文件夹ID */
-    folderId?: string;
+    folderId?: number;
     /** 目录 */
     items?: FileUploadOutput[];
   };
 
   export type OptionsResult = {
-    disabled?: boolean;
-    label?: string;
     value?: any;
+    label?: string;
+    disabled?: boolean;
   };
 
   /** 国密公钥私钥对输出 */
@@ -335,3654 +336,3906 @@ declare namespace API {
   };
 
   export type SqlSugarPagedList_FileOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: FileOutput[];
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: FileOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
   export type SqlSugarPagedList_Object = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: any[];
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: any[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
   export type TreeOptionsResult = {
-    children?: TreeOptionsResult[];
-    disabled?: boolean;
+    value?: any;
     label?: string;
+    disabled?: boolean;
     parentId?: any;
-    value?: any;
+    children?: TreeOptionsResult[];
   };
 
   export type XnRestfulResult_Boolean = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: boolean;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_CaptchaResult = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: CaptchaResult;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_FileStreamResult = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: string;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_FileUploadOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: FileUploadOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_Int32 = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: number;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_List_ApiOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: ApiOutput[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_List_DiskInfo = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: DiskInfo[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_List_FileOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: FileOutput[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_List_OptionsResult = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: OptionsResult[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_List_String = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: string[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_List_TreeOptionsResult = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: TreeOptionsResult[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_MultipleFileOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: MultipleFileOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_Object = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: any;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_SecretKeyOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: SecretKeyOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_SqlSugarPagedList_FileOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: SqlSugarPagedList_FileOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_SqlSugarPagedList_Object = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: SqlSugarPagedList_Object;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_String = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: string;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  /** 系统作业信息表 */
-  export type Job = {
-    /** 程序集Name */
-    assemblyName?: string;
-    /** 是否并行执行 */
-    concurrent?: boolean;
-    /** 描述信息 */
-    description?: string;
-    /** 组名称 */
-    groupName?: string;
-    id?: string;
-    /** 是否扫描特性触发器 */
-    includeAnnotation?: boolean;
-    jobCreateType?: JobCreateType;
-    /** 作业编号 */
-    jobId: string;
-    /** 类名FullName */
-    jobType?: string;
-    /** 额外数据 */
-    properties?: string;
-    /** 脚本代码 */
-    scriptCode?: string;
-    /** 更新时间 */
-    updatedTime?: string;
+  /** 同步配置 */
+  export type DataSyncConfig = {
+    /** 系统id */
+    clientId?: string;
+    /** 系统密钥 */
+    clientSecret?: string;
+    /** 成功授权后的回调地址 */
+    redirectUri?: string;
+    /** authorization code */
+    authorizeUrl?: string;
+    /** authorization code */
+    tokenUrl?: string;
+    /** 登录用户 */
+    loginUserUrl?: string;
+    /** 用户基本信息 */
+    userInfoUrl?: string;
+    /** 退出 */
+    exitUrl?: string;
+    /** 令牌请求的方式 */
+    grantType?: string;
+  };
+
+  /** 邮箱配置 */
+  export type EmailConfig = {
+    /** STMP服务器 */
+    host?: string;
+    /** SMTP端口 */
+    port?: number;
+    /** 发件人地址 */
+    emailFrom?: string;
+    /** 启用SSL */
+    enableSsl?: boolean;
+    /** 是否使用默认凭据 */
+    useDefaultCredentials?: boolean;
+    /** 邮箱账号 */
+    userName?: string;
+    /** 邮箱密码 */
+    password?: string;
+    /** 发件人呢称 */
+    nickName?: string;
+    /** 启用错误日志发送邮箱 */
+    useError?: boolean;
+    /** 接件人地址(接收错误信息) */
+    emailTo?: string;
   };
 
-  /** 系统作业信息表(增加参数) */
-  export type JobCreateParams = {
-    /** 程序集Name */
-    assemblyName?: string;
-    /** 是否并行执行 */
-    concurrent?: boolean;
-    /** 描述信息 */
-    description?: string;
-    /** 组名称 */
-    groupName?: string;
-    id?: string;
-    /** 是否扫描特性触发器 */
-    includeAnnotation?: boolean;
-    jobCreateType?: JobCreateType;
-    /** 作业编号 */
-    jobId: string;
-    /** 类名FullName */
-    jobType?: string;
-    /** 额外数据 */
-    properties?: string;
-    /** 脚本代码 */
-    scriptCode?: string;
-    /** 更新时间 */
-    updatedTime?: string;
+  /** 邮箱发送参数 */
+  export type EmailSendRequest = {
+    /** 邮件接收人 */
+    email: string;
+    /** 模板编号 */
+    code: string;
+    /** 模板参数 */
+    params?: string;
   };
 
-  /** 系统作业信息表(分页参数) */
-  export type JobOutput = {
-    /** 程序集Name */
-    assemblyName?: string;
-    /** 是否并行执行 */
-    concurrent?: boolean;
-    /** 描述信息 */
-    description?: string;
-    /** 组名称 */
-    groupName?: string;
-    id?: string;
-    /** 是否扫描特性触发器 */
-    includeAnnotation?: boolean;
-    jobCreateType?: JobCreateType;
-    /** 作业编号 */
-    jobId: string;
-    /** 类名FullName */
-    jobType?: string;
-    /** 额外数据 */
-    properties?: string;
-    /** 脚本代码 */
-    scriptCode?: string;
-    /** 更新时间 */
-    updatedTime?: string;
+  export type KeyRequest = {
+    id: number;
   };
 
-  /** 系统作业触发器表 */
-  export type JobTrigger = {
-    /** 参数 */
-    args?: string;
-    /** 程序集Name */
-    assemblyName?: string;
-    /** 描述信息 */
-    description?: string;
-    /** 结束时间 */
-    endTime?: string;
-    id?: string;
-    /** 作业编号 */
-    jobId: string;
-    /** 最近运行时间 */
-    lastRunTime?: string;
-    /** 最大出错次数(0:不限制,n:N次) */
-    maxNumberOfErrors?: string;
-    /** 最大触发次数(0:不限制,n:N次) */
-    maxNumberOfRuns?: string;
-    /** 下一次运行时间 */
-    nextRunTime?: string;
-    /** 出错次数 */
-    numberOfErrors?: string;
-    /** 触发次数 */
-    numberOfRuns?: string;
-    /** 重试次数 */
-    numRetries?: number;
-    /** 是否在启动时重置最大触发次数等于一次的作业 */
-    resetOnlyOnce?: boolean;
-    /** 重试间隔时间(ms) */
-    retryTimeout?: number;
-    /** 是否启动时执行一次 */
-    runOnStart?: boolean;
-    /** 是否立即启动 */
-    startNow?: boolean;
-    /** 起始时间 */
-    startTime?: string;
-    status?: TriggerStatus;
-    /** 触发器编号 */
-    triggerId: string;
-    /** 触发器类型FullName */
-    triggerType?: string;
-    /** 更新时间 */
-    updatedTime?: string;
+  /** 插件模板表 */
+  export type PluginsTemplate = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    pluginsType?: PluginsType;
+    /** 编码 */
+    code: string;
+    /** 名称 */
+    name: string;
+    /** 短信签名 */
+    signName?: string;
+    /** 模板标识 */
+    templateCode?: string;
+    /** 短信内容 */
+    content?: string;
+  };
+
+  /** 短信配置 */
+  export type SmsConfig = {
+    /** 短信测试 */
+    testCode?: string;
+    provider?: Provider;
+    /** SDK APP ID */
+    sdkAppId?: string;
+    /** AccessKey ID */
+    accessKeyId?: string;
+    /** AccessKey Secret */
+    accessKeySecret?: string;
+  };
+
+  /** 发送验证码 */
+  export type SmsSendRequest = {
+    /** 手机号 */
+    phone: string;
+    /** 模板编号 */
+    code: string;
   };
 
-  /** 系统作业触发器表(增加参数) */
-  export type JobTriggerCreateParams = {
-    /** 参数 */
-    args?: string;
-    /** 程序集Name */
-    assemblyName?: string;
-    /** 描述信息 */
-    description?: string;
-    /** 结束时间 */
-    endTime?: string;
-    id?: string;
-    /** 作业编号 */
-    jobId: string;
-    /** 最近运行时间 */
-    lastRunTime?: string;
-    /** 最大出错次数(0:不限制,n:N次) */
-    maxNumberOfErrors?: string;
-    /** 最大触发次数(0:不限制,n:N次) */
-    maxNumberOfRuns?: string;
-    /** 下一次运行时间 */
-    nextRunTime?: string;
-    /** 出错次数 */
-    numberOfErrors?: string;
-    /** 触发次数 */
-    numberOfRuns?: string;
-    /** 重试次数 */
-    numRetries?: number;
-    /** 是否在启动时重置最大触发次数等于一次的作业 */
-    resetOnlyOnce?: boolean;
-    /** 重试间隔时间(ms) */
-    retryTimeout?: number;
-    /** 是否启动时执行一次 */
-    runOnStart?: boolean;
-    /** 是否立即启动 */
-    startNow?: boolean;
-    /** 起始时间 */
-    startTime?: string;
-    status?: TriggerStatus;
-    /** 触发器编号 */
-    triggerId: string;
-    /** 触发器类型FullName */
-    triggerType?: string;
-    /** 更新时间 */
-    updatedTime?: string;
+  /** 插件模板表(增加参数) */
+  export type SmsTemplateCreateParams = {
+    pluginsType?: PluginsType;
+    /** 编码 */
+    code?: string;
+    /** 名称 */
+    name?: string;
+    /** 插件签名 */
+    signName?: string;
+    /** 模板标识 */
+    templateCode?: string;
+    /** 插件内容 */
+    content?: string;
   };
 
-  /** 系统作业触发器表(分页参数) */
-  export type JobTriggerOutput = {
-    /** 参数 */
-    args?: string;
-    /** 程序集Name */
-    assemblyName?: string;
-    /** 描述信息 */
-    description?: string;
-    /** 结束时间 */
-    endTime?: string;
-    id?: string;
-    /** 作业编号 */
-    jobId: string;
-    /** 最近运行时间 */
-    lastRunTime?: string;
-    /** 最大出错次数(0:不限制,n:N次) */
-    maxNumberOfErrors?: string;
-    /** 最大触发次数(0:不限制,n:N次) */
-    maxNumberOfRuns?: string;
-    /** 下一次运行时间 */
-    nextRunTime?: string;
-    /** 出错次数 */
-    numberOfErrors?: string;
-    /** 触发次数 */
-    numberOfRuns?: string;
-    /** 重试次数 */
-    numRetries?: number;
-    /** 是否在启动时重置最大触发次数等于一次的作业 */
-    resetOnlyOnce?: boolean;
-    /** 重试间隔时间(ms) */
-    retryTimeout?: number;
-    /** 是否启动时执行一次 */
-    runOnStart?: boolean;
-    /** 是否立即启动 */
-    startNow?: boolean;
-    /** 起始时间 */
-    startTime?: string;
-    status?: TriggerStatus;
-    /** 触发器编号 */
-    triggerId: string;
-    /** 触发器类型FullName */
-    triggerType?: string;
-    /** 更新时间 */
-    updatedTime?: string;
+  /** 插件模板表(更新参数) */
+  export type SmsTemplateUpdateParams = {
+    pluginsType?: PluginsType;
+    /** 编码 */
+    code?: string;
+    /** 名称 */
+    name?: string;
+    /** 插件签名 */
+    signName?: string;
+    /** 模板标识 */
+    templateCode?: string;
+    /** 插件内容 */
+    content?: string;
+    /** 主键 */
+    id?: number;
   };
 
-  /** 系统作业触发器表 */
-  export type JobTriggerParams = {
-    /** 作业Id */
-    jobId?: string;
-    /** 触发器Id */
-    triggerId?: string;
+  /** 短信验证参数 */
+  export type SmsVerifyRequest = {
+    /** 手机号码 */
+    phone: string;
+    /** 验证码 */
+    code: string;
   };
 
-  /** 系统作业触发器运行记录表(分页参数) */
-  export type JobTriggerRecordOutput = {
-    /** 创建时间 */
-    createdTime?: string;
-    /** 本次执行耗时 */
-    elapsedTime?: string;
-    id?: string;
-    /** 作业编号 */
-    jobId: string;
-    /** 最近运行时间 */
-    lastRunTime?: string;
-    /** 下一次运行时间 */
-    nextRunTime?: string;
-    /** 当前运行次数 */
-    numberOfRuns?: string;
-    /** 本次执行结果 */
-    result?: string;
-    status?: TriggerStatus;
-    /** 触发器编号 */
-    triggerId: string;
+  export type SqlSugarPagedList_TemplateOutput = {
+    pageIndex?: number;
+    pageSize?: number;
+    total?: number;
+    totalPages?: number;
+    items?: TemplateOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  /** 系统作业触发器表(更新参数) */
-  export type JobTriggerUpdateParams = {
-    /** 参数 */
-    args?: string;
-    /** 程序集Name */
-    assemblyName?: string;
-    /** 描述信息 */
-    description?: string;
-    /** 结束时间 */
-    endTime?: string;
-    id?: string;
-    /** 作业编号 */
-    jobId: string;
-    /** 最近运行时间 */
-    lastRunTime?: string;
-    /** 最大出错次数(0:不限制,n:N次) */
-    maxNumberOfErrors?: string;
-    /** 最大触发次数(0:不限制,n:N次) */
-    maxNumberOfRuns?: string;
-    /** 下一次运行时间 */
-    nextRunTime?: string;
-    /** 出错次数 */
-    numberOfErrors?: string;
-    /** 触发次数 */
-    numberOfRuns?: string;
-    /** 重试次数 */
-    numRetries?: number;
-    /** 是否在启动时重置最大触发次数等于一次的作业 */
-    resetOnlyOnce?: boolean;
-    /** 重试间隔时间(ms) */
-    retryTimeout?: number;
-    /** 是否启动时执行一次 */
-    runOnStart?: boolean;
-    /** 是否立即启动 */
-    startNow?: boolean;
-    /** 起始时间 */
-    startTime?: string;
-    status?: TriggerStatus;
-    /** 触发器编号 */
-    triggerId: string;
-    /** 触发器类型FullName */
-    triggerType?: string;
-    /** 更新时间 */
-    updatedTime?: string;
-  };
-
-  /** 系统作业信息表(更新参数) */
-  export type JobUpdateParams = {
-    /** 程序集Name */
-    assemblyName?: string;
-    /** 是否并行执行 */
-    concurrent?: boolean;
-    /** 描述信息 */
-    description?: string;
-    /** 组名称 */
-    groupName?: string;
-    id?: string;
-    /** 是否扫描特性触发器 */
-    includeAnnotation?: boolean;
-    jobCreateType?: JobCreateType;
-    /** 作业编号 */
-    jobId: string;
-    /** 类名FullName */
-    jobType?: string;
-    /** 额外数据 */
-    properties?: string;
-    /** 脚本代码 */
-    scriptCode?: string;
-    /** 更新时间 */
-    updatedTime?: string;
-  };
-
-  export type KeyCodeRequest = {
-    code: string;
-  };
-
-  export type KeyRequest = {
-    id: string;
+  /** 短信模板表(分页参数) */
+  export type TemplateOutput = {
+    pluginsType?: PluginsType;
+    /** 编码 */
+    code?: string;
+    /** 名称 */
+    name?: string;
+    /** 插件签名 */
+    signName?: string;
+    /** 模板标识 */
+    templateCode?: string;
+    /** 插件内容 */
+    content?: string;
+    /** 主键 */
+    id?: number;
   };
 
-  export type SqlSugarPagedList_JobOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: JobOutput[];
-    pageIndex?: number;
-    pageSize?: number;
-    total?: number;
-    totalPages?: number;
+  export type XnRestfulResult_Boolean = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: boolean;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type SqlSugarPagedList_JobTriggerRecordOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: JobTriggerRecordOutput[];
-    pageIndex?: number;
-    pageSize?: number;
-    total?: number;
-    totalPages?: number;
+  export type XnRestfulResult_DataSyncConfig = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: DataSyncConfig;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_Job = {
+  export type XnRestfulResult_EmailConfig = {
+    success?: boolean;
     code?: number;
-    data?: Job;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: EmailConfig;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_JobTrigger = {
+  export type XnRestfulResult_PluginsTemplate = {
+    success?: boolean;
     code?: number;
-    data?: JobTrigger;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: PluginsTemplate;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_JobTriggerOutput = {
+  export type XnRestfulResult_SmsConfig = {
+    success?: boolean;
     code?: number;
-    data?: JobTriggerOutput[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: SmsConfig;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_JobOutput = {
+  export type XnRestfulResult_SqlSugarPagedList_TemplateOutput = {
+    success?: boolean;
     code?: number;
-    data?: SqlSugarPagedList_JobOutput;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: SqlSugarPagedList_TemplateOutput;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_JobTriggerRecordOutput = {
+  export type XnRestfulResult_String = {
+    success?: boolean;
     code?: number;
-    data?: SqlSugarPagedList_JobTriggerRecordOutput;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: string;
+    extras?: any;
+    timestamp?: number;
   };
 
   /** 审计日志表(分页参数) */
   export type LogAuditOutput = {
-    /** 账号 */
-    account?: string;
-    /** 审计时间 */
-    auditTime?: string;
-    /** 列名 */
-    columnName: string;
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    id?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
+    /** 表名 */
+    tableName: string;
+    /** 列名 */
+    columnName: string;
     /** 新值 */
     newValue?: string;
     /** 旧值 */
     oldValue?: string;
     operate?: DataOpType;
+    /** 审计时间 */
+    auditTime?: string;
+    /** 账号 */
+    account?: string;
     /** 真实姓名 */
     realName?: string;
-    /** 表名 */
-    tableName: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
   };
 
   /** 差异日志表(分页参数) */
   export type LogDifferenceOutput = {
-    /** 操作后记录 */
-    afterData?: string;
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
     /** 操作前记录 */
     beforeData?: string;
+    /** 操作后记录 */
+    afterData?: string;
+    /** Sql */
+    sql?: string;
+    /** 参数  手动传入的参数 */
+    parameters?: string;
     /** 业务对象 */
     businessData?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
     /** 差异操作 */
     diffType?: string;
     /** 耗时 */
-    elapsed?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 参数  手动传入的参数 */
-    parameters?: string;
-    /** Sql */
-    sql?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    elapsed?: number;
   };
 
   /** 异常日志表(分页参数) */
   export type LogExceptionOutput = {
-    /** 账号 */
-    account?: string;
-    /** 方法名称 */
-    actionName?: string;
-    /** 浏览器 */
-    browser?: string;
-    /** 模块名称 */
-    controllerName?: string;
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    /** 模块名称 */
+    controllerName?: string;
+    /** 方法名称 */
+    actionName?: string;
     /** 显示名称 */
     displayTitle?: string;
-    /** 操作用时 */
-    elapsed?: string;
-    /** 事件Id */
-    eventId?: number;
-    /** 异常信息 */
-    exception?: string;
-    /** 请求方式 */
-    httpMethod?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 维度 */
-    latitude?: number;
+    /** 执行状态 */
+    status?: string;
+    /** IP地址 */
+    remoteIp?: string;
     /** 登录地点 */
     location?: string;
-    /** 日志时间 */
-    logDateTime?: string;
-    logLevel?: LogLevel;
     /** 经度 */
     longitude?: number;
-    /** 日志消息Json */
-    message?: string;
+    /** 维度 */
+    latitude?: number;
+    /** 浏览器 */
+    browser?: string;
     /** 操作系统 */
     os?: string;
+    /** 操作用时 */
+    elapsed?: number;
+    /** 日志时间 */
+    logDateTime?: string;
+    logLevel?: LogLevel;
+    /** 账号 */
+    account?: string;
     /** 真实姓名 */
     realName?: string;
-    /** IP地址 */
-    remoteIp?: string;
-    /** 请求参数 */
-    requestParam?: string;
+    /** 请求方式 */
+    httpMethod?: string;
     /** 请求地址 */
     requestUrl?: string;
+    /** 请求参数 */
+    requestParam?: string;
     /** 返回结果 */
     returnResult?: string;
-    /** 执行状态 */
-    status?: string;
-    tenantId?: string;
+    /** 事件Id */
+    eventId?: number;
     /** 线程Id */
     threadId?: number;
     /** 请求跟踪Id */
     traceId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    /** 异常信息 */
+    exception?: string;
+    /** 日志消息Json */
+    message?: string;
   };
 
   /** 操作日志表(分页参数) */
   export type LogOperateOutput = {
-    /** 账号 */
-    account?: string;
-    /** 方法名称 */
-    actionName?: string;
-    /** 浏览器 */
-    browser?: string;
-    /** 模块名称 */
-    controllerName?: string;
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    /** 模块名称 */
+    controllerName?: string;
+    /** 方法名称 */
+    actionName?: string;
     /** 显示名称 */
     displayTitle?: string;
-    /** 操作用时 */
-    elapsed?: string;
-    /** 事件Id */
-    eventId?: number;
-    /** 异常信息 */
-    exception?: string;
-    /** 请求方式 */
-    httpMethod?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 维度 */
-    latitude?: number;
+    /** 执行状态 */
+    status?: string;
+    /** IP地址 */
+    remoteIp?: string;
     /** 登录地点 */
     location?: string;
-    /** 日志时间 */
-    logDateTime?: string;
-    logLevel?: LogLevel;
     /** 经度 */
     longitude?: number;
-    /** 日志消息Json */
-    message?: string;
+    /** 维度 */
+    latitude?: number;
+    /** 浏览器 */
+    browser?: string;
     /** 操作系统 */
     os?: string;
-    /** 真实姓名 */
-    realName?: string;
-    /** IP地址 */
-    remoteIp?: string;
-    /** 请求参数 */
-    requestParam?: string;
+    /** 操作用时 */
+    elapsed?: number;
+    /** 日志时间 */
+    logDateTime?: string;
+    logLevel?: LogLevel;
+    /** 账号 */
+    account?: string;
+    /** 真实姓名 */
+    realName?: string;
+    /** 请求方式 */
+    httpMethod?: string;
     /** 请求地址 */
     requestUrl?: string;
+    /** 请求参数 */
+    requestParam?: string;
     /** 返回结果 */
     returnResult?: string;
-    /** 执行状态 */
-    status?: string;
-    tenantId?: string;
+    /** 事件Id */
+    eventId?: number;
     /** 线程Id */
     threadId?: number;
     /** 请求跟踪Id */
     traceId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    /** 异常信息 */
+    exception?: string;
+    /** 日志消息Json */
+    message?: string;
   };
 
   /** 访问日志表(分页参数) */
   export type LogVisitOutput = {
-    /** 账号 */
-    account?: string;
-    /** 方法名称 */
-    actionName?: string;
-    /** 浏览器 */
-    browser?: string;
-    /** 模块名称 */
-    controllerName?: string;
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    /** 模块名称 */
+    controllerName?: string;
+    /** 方法名称 */
+    actionName?: string;
     /** 显示名称 */
     displayTitle?: string;
-    /** 操作用时 */
-    elapsed?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 维度 */
-    latitude?: number;
+    /** 执行状态 */
+    status?: string;
+    /** IP地址 */
+    remoteIp?: string;
     /** 登录地点 */
     location?: string;
-    /** 日志时间 */
-    logDateTime?: string;
-    logLevel?: LogLevel;
     /** 经度 */
     longitude?: number;
+    /** 维度 */
+    latitude?: number;
+    /** 浏览器 */
+    browser?: string;
     /** 操作系统 */
     os?: string;
+    /** 操作用时 */
+    elapsed?: number;
+    /** 日志时间 */
+    logDateTime?: string;
+    logLevel?: LogLevel;
+    /** 账号 */
+    account?: string;
     /** 真实姓名 */
     realName?: string;
-    /** IP地址 */
-    remoteIp?: string;
-    /** 执行状态 */
-    status?: string;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
   };
 
   export type SqlSugarPagedList_LogAuditOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: LogAuditOutput[];
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: LogAuditOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
   export type SqlSugarPagedList_LogDifferenceOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: LogDifferenceOutput[];
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: LogDifferenceOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
   export type SqlSugarPagedList_LogExceptionOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: LogExceptionOutput[];
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: LogExceptionOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
   export type SqlSugarPagedList_LogOperateOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: LogOperateOutput[];
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: LogOperateOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
   export type SqlSugarPagedList_LogVisitOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: LogVisitOutput[];
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: LogVisitOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
   export type XnRestfulResult_SqlSugarPagedList_LogAuditOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: SqlSugarPagedList_LogAuditOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_SqlSugarPagedList_LogDifferenceOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: SqlSugarPagedList_LogDifferenceOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_SqlSugarPagedList_LogExceptionOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: SqlSugarPagedList_LogExceptionOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_SqlSugarPagedList_LogOperateOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: SqlSugarPagedList_LogOperateOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_SqlSugarPagedList_LogVisitOutput = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: SqlSugarPagedList_LogVisitOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  /** 用户表(修改密码参数) */
-  export type ChangePasswordParams = {
-    /** 新密码 */
-    password?: string;
-    /** 源新密码 */
-    sourcePassword?: string;
+  /** 系统作业信息表 */
+  export type Job = {
+    id?: number;
+    /** 作业编号 */
+    jobId: string;
+    /** 组名称 */
+    groupName?: string;
+    /** 类名FullName */
+    jobType?: string;
+    /** 程序集Name */
+    assemblyName?: string;
+    /** 描述信息 */
+    description?: string;
+    /** 是否并行执行 */
+    concurrent?: boolean;
+    /** 是否扫描特性触发器 */
+    includeAnnotation?: boolean;
+    /** 额外数据 */
+    properties?: string;
+    /** 更新时间 */
+    updatedTime?: string;
+    jobCreateType?: JobCreateType;
+    /** 脚本代码 */
+    scriptCode?: string;
   };
 
-  /** 参数配置表 */
-  export type Config = {
-    /** 编码 */
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    /** 分组编码 */
-    groupCode?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 系统参数 */
-    isSystem?: boolean;
-    /** 名称 */
-    name: string;
-    /** 备注 */
-    remark?: string;
-    /** 排序 */
-    sort?: number;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    /** 属性值 */
-    value?: string;
+  /** 系统作业信息表(增加参数) */
+  export type JobCreateParams = {
+    id?: number;
+    /** 作业编号 */
+    jobId: string;
+    /** 组名称 */
+    groupName?: string;
+    /** 类名FullName */
+    jobType?: string;
+    /** 程序集Name */
+    assemblyName?: string;
+    /** 描述信息 */
+    description?: string;
+    /** 是否并行执行 */
+    concurrent?: boolean;
+    /** 是否扫描特性触发器 */
+    includeAnnotation?: boolean;
+    /** 额外数据 */
+    properties?: string;
+    /** 更新时间 */
+    updatedTime?: string;
+    jobCreateType?: JobCreateType;
+    /** 脚本代码 */
+    scriptCode?: string;
   };
 
-  /** 参数配置(增加参数) */
-  export type ConfigCreateParams = {
-    /** 编码 */
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    /** 分组编码 */
-    groupCode?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 系统参数 */
-    isSystem?: boolean;
-    /** 名称 */
-    name: string;
-    /** 备注 */
-    remark?: string;
-    /** 排序 */
-    sort?: number;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    /** 属性值 */
-    value?: string;
+  /** 系统作业信息表(分页参数) */
+  export type JobOutput = {
+    id?: number;
+    /** 作业编号 */
+    jobId: string;
+    /** 组名称 */
+    groupName?: string;
+    /** 类名FullName */
+    jobType?: string;
+    /** 程序集Name */
+    assemblyName?: string;
+    /** 描述信息 */
+    description?: string;
+    /** 是否并行执行 */
+    concurrent?: boolean;
+    /** 是否扫描特性触发器 */
+    includeAnnotation?: boolean;
+    /** 额外数据 */
+    properties?: string;
+    /** 更新时间 */
+    updatedTime?: string;
+    jobCreateType?: JobCreateType;
+    /** 脚本代码 */
+    scriptCode?: string;
   };
 
-  /** 参数配置(修改参数) */
-  export type ConfigUpdateParams = {
-    /** 编码 */
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    /** 分组编码 */
-    groupCode?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 系统参数 */
-    isSystem?: boolean;
-    /** 名称 */
-    name: string;
-    /** 备注 */
-    remark?: string;
-    /** 排序 */
-    sort?: number;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    /** 属性值 */
-    value?: string;
+  /** 系统作业触发器表 */
+  export type JobTrigger = {
+    id?: number;
+    /** 触发器编号 */
+    triggerId: string;
+    /** 作业编号 */
+    jobId: string;
+    /** 触发器类型FullName */
+    triggerType?: string;
+    /** 程序集Name */
+    assemblyName?: string;
+    /** 参数 */
+    args?: string;
+    /** 描述信息 */
+    description?: string;
+    status?: TriggerStatus;
+    /** 起始时间 */
+    startTime?: string;
+    /** 结束时间 */
+    endTime?: string;
+    /** 最近运行时间 */
+    lastRunTime?: string;
+    /** 下一次运行时间 */
+    nextRunTime?: string;
+    /** 触发次数 */
+    numberOfRuns?: number;
+    /** 最大触发次数(0:不限制,n:N次) */
+    maxNumberOfRuns?: number;
+    /** 出错次数 */
+    numberOfErrors?: number;
+    /** 最大出错次数(0:不限制,n:N次) */
+    maxNumberOfErrors?: number;
+    /** 重试次数 */
+    numRetries?: number;
+    /** 重试间隔时间(ms) */
+    retryTimeout?: number;
+    /** 是否立即启动 */
+    startNow?: boolean;
+    /** 是否启动时执行一次 */
+    runOnStart?: boolean;
+    /** 是否在启动时重置最大触发次数等于一次的作业 */
+    resetOnlyOnce?: boolean;
+    /** 更新时间 */
+    updatedTime?: string;
+  };
+
+  /** 系统作业触发器表(增加参数) */
+  export type JobTriggerCreateParams = {
+    id?: number;
+    /** 触发器编号 */
+    triggerId: string;
+    /** 作业编号 */
+    jobId: string;
+    /** 触发器类型FullName */
+    triggerType?: string;
+    /** 程序集Name */
+    assemblyName?: string;
+    /** 参数 */
+    args?: string;
+    /** 描述信息 */
+    description?: string;
+    status?: TriggerStatus;
+    /** 起始时间 */
+    startTime?: string;
+    /** 结束时间 */
+    endTime?: string;
+    /** 最近运行时间 */
+    lastRunTime?: string;
+    /** 下一次运行时间 */
+    nextRunTime?: string;
+    /** 触发次数 */
+    numberOfRuns?: number;
+    /** 最大触发次数(0:不限制,n:N次) */
+    maxNumberOfRuns?: number;
+    /** 出错次数 */
+    numberOfErrors?: number;
+    /** 最大出错次数(0:不限制,n:N次) */
+    maxNumberOfErrors?: number;
+    /** 重试次数 */
+    numRetries?: number;
+    /** 重试间隔时间(ms) */
+    retryTimeout?: number;
+    /** 是否立即启动 */
+    startNow?: boolean;
+    /** 是否启动时执行一次 */
+    runOnStart?: boolean;
+    /** 是否在启动时重置最大触发次数等于一次的作业 */
+    resetOnlyOnce?: boolean;
+    /** 更新时间 */
+    updatedTime?: string;
+  };
+
+  /** 系统作业触发器表(分页参数) */
+  export type JobTriggerOutput = {
+    id?: number;
+    /** 触发器编号 */
+    triggerId: string;
+    /** 作业编号 */
+    jobId: string;
+    /** 触发器类型FullName */
+    triggerType?: string;
+    /** 程序集Name */
+    assemblyName?: string;
+    /** 参数 */
+    args?: string;
+    /** 描述信息 */
+    description?: string;
+    status?: TriggerStatus;
+    /** 起始时间 */
+    startTime?: string;
+    /** 结束时间 */
+    endTime?: string;
+    /** 最近运行时间 */
+    lastRunTime?: string;
+    /** 下一次运行时间 */
+    nextRunTime?: string;
+    /** 触发次数 */
+    numberOfRuns?: number;
+    /** 最大触发次数(0:不限制,n:N次) */
+    maxNumberOfRuns?: number;
+    /** 出错次数 */
+    numberOfErrors?: number;
+    /** 最大出错次数(0:不限制,n:N次) */
+    maxNumberOfErrors?: number;
+    /** 重试次数 */
+    numRetries?: number;
+    /** 重试间隔时间(ms) */
+    retryTimeout?: number;
+    /** 是否立即启动 */
+    startNow?: boolean;
+    /** 是否启动时执行一次 */
+    runOnStart?: boolean;
+    /** 是否在启动时重置最大触发次数等于一次的作业 */
+    resetOnlyOnce?: boolean;
+    /** 更新时间 */
+    updatedTime?: string;
+  };
+
+  /** 系统作业触发器表 */
+  export type JobTriggerParams = {
+    /** 作业Id */
+    jobId?: string;
+    /** 触发器Id */
+    triggerId?: string;
+  };
+
+  /** 系统作业触发器运行记录表(分页参数) */
+  export type JobTriggerRecordOutput = {
+    id?: number;
+    /** 作业编号 */
+    jobId: string;
+    /** 触发器编号 */
+    triggerId: string;
+    /** 当前运行次数 */
+    numberOfRuns?: number;
+    /** 最近运行时间 */
+    lastRunTime?: string;
+    /** 下一次运行时间 */
+    nextRunTime?: string;
+    status?: TriggerStatus;
+    /** 本次执行结果 */
+    result?: string;
+    /** 本次执行耗时 */
+    elapsedTime?: number;
+    /** 创建时间 */
+    createdTime?: string;
+  };
+
+  /** 系统作业触发器表(更新参数) */
+  export type JobTriggerUpdateParams = {
+    id?: number;
+    /** 触发器编号 */
+    triggerId: string;
+    /** 作业编号 */
+    jobId: string;
+    /** 触发器类型FullName */
+    triggerType?: string;
+    /** 程序集Name */
+    assemblyName?: string;
+    /** 参数 */
+    args?: string;
+    /** 描述信息 */
+    description?: string;
+    status?: TriggerStatus;
+    /** 起始时间 */
+    startTime?: string;
+    /** 结束时间 */
+    endTime?: string;
+    /** 最近运行时间 */
+    lastRunTime?: string;
+    /** 下一次运行时间 */
+    nextRunTime?: string;
+    /** 触发次数 */
+    numberOfRuns?: number;
+    /** 最大触发次数(0:不限制,n:N次) */
+    maxNumberOfRuns?: number;
+    /** 出错次数 */
+    numberOfErrors?: number;
+    /** 最大出错次数(0:不限制,n:N次) */
+    maxNumberOfErrors?: number;
+    /** 重试次数 */
+    numRetries?: number;
+    /** 重试间隔时间(ms) */
+    retryTimeout?: number;
+    /** 是否立即启动 */
+    startNow?: boolean;
+    /** 是否启动时执行一次 */
+    runOnStart?: boolean;
+    /** 是否在启动时重置最大触发次数等于一次的作业 */
+    resetOnlyOnce?: boolean;
+    /** 更新时间 */
+    updatedTime?: string;
+  };
+
+  /** 系统作业信息表(更新参数) */
+  export type JobUpdateParams = {
+    id?: number;
+    /** 作业编号 */
+    jobId: string;
+    /** 组名称 */
+    groupName?: string;
+    /** 类名FullName */
+    jobType?: string;
+    /** 程序集Name */
+    assemblyName?: string;
+    /** 描述信息 */
+    description?: string;
+    /** 是否并行执行 */
+    concurrent?: boolean;
+    /** 是否扫描特性触发器 */
+    includeAnnotation?: boolean;
+    /** 额外数据 */
+    properties?: string;
+    /** 更新时间 */
+    updatedTime?: string;
+    jobCreateType?: JobCreateType;
+    /** 脚本代码 */
+    scriptCode?: string;
+  };
+
+  export type KeyCodeRequest = {
+    code: string;
+  };
+
+  export type KeyRequest = {
+    id: number;
+  };
+
+  export type SqlSugarPagedList_JobOutput = {
+    pageIndex?: number;
+    pageSize?: number;
+    total?: number;
+    totalPages?: number;
+    items?: JobOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
+  };
+
+  export type SqlSugarPagedList_JobTriggerRecordOutput = {
+    pageIndex?: number;
+    pageSize?: number;
+    total?: number;
+    totalPages?: number;
+    items?: JobTriggerRecordOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
+  };
+
+  export type XnRestfulResult_Job = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: Job;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_JobTrigger = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: JobTrigger;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_List_JobTriggerOutput = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: JobTriggerOutput[];
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_SqlSugarPagedList_JobOutput = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: SqlSugarPagedList_JobOutput;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_SqlSugarPagedList_JobTriggerRecordOutput = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: SqlSugarPagedList_JobTriggerRecordOutput;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type Assembly = {
+    definedTypes?: TypeInfo[];
+    exportedTypes?: Type[];
+    codeBase?: string;
+    entryPoint?: MethodInfo;
+    fullName?: string;
+    imageRuntimeVersion?: string;
+    isDynamic?: boolean;
+    location?: string;
+    reflectionOnly?: boolean;
+    isCollectible?: boolean;
+    isFullyTrusted?: boolean;
+    customAttributes?: CustomAttributeData[];
+    escapedCodeBase?: string;
+    manifestModule?: Module;
+    modules?: Module[];
+    globalAssemblyCache?: boolean;
+    hostContext?: number;
+    securityRuleSet?: SecurityRuleSet;
+  };
+
+  /** 代码生成表 */
+  export type CodeGenerate = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    /** 作者姓名 */
+    authorName?: string;
+    /** 是否移除表前缀 */
+    tablePrefix?: string;
+    /** 生成方式 */
+    generateType?: string;
+    /** 库定位器名 */
+    configId?: string;
+    /** 数据库名(保留字段) */
+    dbName?: string;
+    /** 数据库类型 */
+    dbType?: string;
+    /** 数据库链接 */
+    connectionString?: string;
+    /** 数据库表名 */
+    tableName?: string;
+    /** 说明 */
+    description?: string;
+    /** 类名 */
+    className?: string;
+    /** 基类 */
+    baseClassName?: string;
+    /** 命名空间 */
+    nameSpace?: string;
+    /** 业务名 */
+    businessName?: string;
+    /** 菜单编码 */
+    menuId?: number;
+    /** 模板 */
+    codeGenerateTemplates?: CodeGenerateTemplate[];
+    /** 模板明细 */
+    codeGenerateDetails?: CodeGenerateDetail[];
+  };
+
+  /** 系统代码生成(增加参数) */
+  export type CodeGenerateCreateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    /** 作者姓名 */
+    authorName?: string;
+    /** 是否移除表前缀 */
+    tablePrefix?: string;
+    /** 生成方式 */
+    generateType?: string;
+    /** 库定位器名 */
+    configId?: string;
+    /** 数据库名(保留字段) */
+    dbName?: string;
+    /** 数据库类型 */
+    dbType?: string;
+    /** 数据库链接 */
+    connectionString?: string;
+    /** 数据库表名 */
+    tableName?: string;
+    /** 说明 */
+    description?: string;
+    /** 类名 */
+    className?: string;
+    /** 基类 */
+    baseClassName?: string;
+    /** 命名空间 */
+    nameSpace?: string;
+    /** 业务名 */
+    businessName?: string;
+    /** 菜单编码 */
+    menuId?: number;
+    /** 模板 */
+    codeGenerateTemplates?: CodeGenerateTemplate[];
+    /** 模板明细 */
+    codeGenerateDetails?: CodeGenerateDetail[];
+    /** 模板 */
+    templateIds?: number[];
+  };
+
+  /** 代码生成表配置 */
+  export type CodeGenerateDetail = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    /** 代码生成主表Id */
+    codeGenerateId?: number;
+    /** 数据库字段名 */
+    columnName: string;
+    /** 实体名称 */
+    entityName: string;
+    /** 字段数据长度 */
+    columnLength?: number;
+    /** 是否允许为空 */
+    isNullable?: boolean;
+    /** 字段描述 */
+    columnComment?: string;
+    /** 主外键 */
+    isPrimarykey?: boolean;
+    /** 小数位数 */
+    decimalDigits?: number;
+    /** 自动增加 */
+    isIdentity?: boolean;
+    /** .NET数据类型 */
+    netType?: string;
+    /** 作用类型(字典) */
+    effectType?: string;
+    /** 外键实体名称 */
+    fkEntityName?: string;
+    /** 外键表名称 */
+    fkTableName?: string;
+    /** 外键显示字段 */
+    fkColumnName?: string;
+    /** 外键显示字段.NET类型 */
+    fkColumnNetType?: string;
+    /** 字典编码 */
+    dictTypeCode?: string;
+    /** 列表是否缩进(字典) */
+    whetherRetract?: string;
+    /** 是否必填(字典) */
+    whetherRequired?: string;
+    /** 是否是查询条件 */
+    queryWhether?: string;
+    /** 查询方式 */
+    queryType?: string;
+    /** 列表显示 */
+    whetherTable?: string;
+    /** 增改 */
+    whetherAddUpdate?: string;
+    /** 数据库中类型(物理类型) */
+    dataType?: string;
+    /** 是否通用字段 */
+    whetherCommon?: string;
+    /** 显示文本字段 */
+    displayColumn?: string;
+    /** 选中值字段 */
+    valueColumn?: string;
+    /** 父级字段 */
+    pidColumn?: string;
+    /** 排序 */
+    sort?: number;
+  };
+
+  /** 代码生成(输出) */
+  export type CodeGenerateOutput = {
+    /** ID */
+    id?: number;
+    /** 作者姓名 */
+    authorName?: string;
+    /** 是否移除表前缀 */
+    tablePrefix?: string;
+    /** 生成方式 */
+    generateType?: string;
+    /** 库定位器名 */
+    configId?: string;
+    /** 数据库名(保留字段) */
+    dbName?: string;
+    /** 数据库类型 */
+    dbType?: string;
+    /** 数据库链接 */
+    connectionString?: string;
+    /** 数据库表名 */
+    tableName?: string;
+    /** 命名空间 */
+    nameSpace?: string;
+    /** 业务名 */
+    businessName?: string;
+    /** 菜单编码 */
+    menuId?: number;
+    /** 类名 */
+    className?: string;
+    /** 模板 */
+    templateIds?: number[];
+    /** 说明 */
+    description?: string;
+    /** 基类 */
+    baseClassName?: string;
+  };
+
+  /** 代码生成模板表 */
+  export type CodeGenerateTemplate = {
+    id?: number;
+    /** 代码生成主表Id */
+    codeGenerateId?: number;
+    /** 模板ID */
+    templateId?: number;
+    /** 模板 */
+    template?: string;
+    /** 模板ID */
+    templateName?: string;
+    codeTemplateType?: CodeTemplateType;
+  };
+
+  /** 系统代码生成(更新参数) */
+  export type CodeGenerateUpdateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    /** 作者姓名 */
+    authorName?: string;
+    /** 是否移除表前缀 */
+    tablePrefix?: string;
+    /** 生成方式 */
+    generateType?: string;
+    /** 库定位器名 */
+    configId?: string;
+    /** 数据库名(保留字段) */
+    dbName?: string;
+    /** 数据库类型 */
+    dbType?: string;
+    /** 数据库链接 */
+    connectionString?: string;
+    /** 数据库表名 */
+    tableName?: string;
+    /** 说明 */
+    description?: string;
+    /** 类名 */
+    className?: string;
+    /** 基类 */
+    baseClassName?: string;
+    /** 命名空间 */
+    nameSpace?: string;
+    /** 业务名 */
+    businessName?: string;
+    /** 菜单编码 */
+    menuId?: number;
+    /** 模板 */
+    codeGenerateTemplates?: CodeGenerateTemplate[];
+    /** 模板明细 */
+    codeGenerateDetails?: CodeGenerateDetail[];
+    /** 模板 */
+    templateIds?: number[];
+  };
+
+  /** 代码模板表 */
+  export type CodeTemplate = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    /** 模板名称 */
+    name?: string;
+    codeTemplateType?: CodeTemplateType;
+    /** 模板内容 */
+    template?: string;
+  };
+
+  /** 代码模板表(增加参数) */
+  export type CodeTemplateCreateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    /** 模板名称 */
+    name?: string;
+    codeTemplateType?: CodeTemplateType;
+    /** 模板内容 */
+    template?: string;
+  };
+
+  /** 代码模板表(分页参数) */
+  export type CodeTemplateOutput = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    /** 模板名称 */
+    name?: string;
+    codeTemplateType?: CodeTemplateType;
+    /** 模板内容 */
+    template?: string;
+  };
+
+  /** 代码模板表(更新参数) */
+  export type CodeTemplateUpdateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    /** 模板名称 */
+    name?: string;
+    codeTemplateType?: CodeTemplateType;
+    /** 模板内容 */
+    template?: string;
+  };
+
+  export type ComponentProps = {
+    placeholder?: string;
+    api?: FormApi;
+  };
+
+  export type ConditionalModel = {
+    fieldName?: string;
+    fieldValue?: string;
+    cSharpTypeName?: string;
+    customConditionalFunc?: ICustomConditionalFunc;
+    customParameterValue?: any;
+    conditionalType?: ConditionalType;
+    fieldValueConvertFunc?: Func_StringObject;
+  };
+
+  export type ConstructorInfo = {
+    name?: string;
+    declaringType?: Type;
+    reflectedType?: Type;
+    module?: Module;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
+    attributes?: MethodAttributes;
+    methodImplementationFlags?: MethodImplAttributes;
+    callingConvention?: CallingConventions;
+    isAbstract?: boolean;
+    isConstructor?: boolean;
+    isFinal?: boolean;
+    isHideBySig?: boolean;
+    isSpecialName?: boolean;
+    isStatic?: boolean;
+    isVirtual?: boolean;
+    isAssembly?: boolean;
+    isFamily?: boolean;
+    isFamilyAndAssembly?: boolean;
+    isFamilyOrAssembly?: boolean;
+    isPrivate?: boolean;
+    isPublic?: boolean;
+    isConstructedGenericMethod?: boolean;
+    isGenericMethod?: boolean;
+    isGenericMethodDefinition?: boolean;
+    containsGenericParameters?: boolean;
+    methodHandle?: RuntimeMethodHandle;
+    isSecurityCritical?: boolean;
+    isSecuritySafeCritical?: boolean;
+    isSecurityTransparent?: boolean;
+    memberType?: MemberTypes;
   };
 
-  export type Department = {
-    children?: Department[];
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    orgType?: string;
-    orgTypeInfo?: DictionaryDetail;
-    parentId?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type CustomAttributeData = {
+    attributeType?: Type;
+    constructor?: ConstructorInfo;
+    constructorArguments?: CustomAttributeTypedArgument[];
+    namedArguments?: CustomAttributeNamedArgument[];
   };
 
-  /** 机构(增加参数) */
-  export type DepartmentCreateParams = {
-    children?: Department[];
-    /** 机构编码 */
-    code: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 机构名称 */
-    name: string;
-    orgType?: string;
-    orgTypeInfo?: DictionaryDetail;
-    parentId?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type CustomAttributeNamedArgument = {
+    memberInfo?: MemberInfo;
+    typedValue?: CustomAttributeTypedArgument;
+    memberName?: string;
+    isField?: boolean;
   };
 
-  /** 机构(更新参数) */
-  export type DepartmentUpdateParams = {
-    children?: Department[];
-    /** 机构编码 */
-    code: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 机构名称 */
-    name: string;
-    orgType?: string;
-    orgTypeInfo?: DictionaryDetail;
-    parentId?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type CustomAttributeTypedArgument = {
+    argumentType?: Type;
+    value?: any;
   };
 
-  export type Dictionary = {
-    code: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  /** 数据库管理(数据库输出参数) */
+  export type DatabaseOutput = {
+    /** 库定位器名 */
+    configId?: string;
+    dbType?: DbType;
+    /** 数据库连接字符串 */
+    connectionString?: string;
   };
 
-  /** 系统字典类型表(增加参数) */
-  export type DictionaryCreateParams = {
-    /** 编码 */
-    code?: string;
-    /** 名称 */
+  /** 数据库查询表列表列(增加参数) */
+  export type DatabaseQueryColumnCreateParams = {
+    /** 数据库查询表主键 */
+    databaseQueryId?: number;
+    /** 表别名 */
+    tableAlias?: string;
+    /** 列名 */
     name?: string;
+    /** 列名 */
+    alias?: string;
     /** 备注 */
     remark?: string;
-    /** 排序 */
-    sort?: number;
   };
 
-  export type DictionaryDetail = {
-    children?: DictionaryDetail[];
-    code: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    dictionaryCode?: string;
-    extend?: string;
-    id?: string;
-    isDelete?: boolean;
+  /** 数据库查询表列表列(分页参数) */
+  export type DatabaseQueryColumnOutput = {
+    /** 数据库查询表主键 */
+    databaseQueryId?: number;
+    /** 表别名 */
+    tableAlias?: string;
+    /** 列名 */
     name?: string;
-    parentId?: string;
+    /** 列名 */
+    alias?: string;
+    /** 备注 */
     remark?: string;
-    sort?: number;
-    status?: Status;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    value: string;
+    /** 主键 */
+    id?: number;
   };
 
-  /** 系统字典值表(增加参数) */
-  export type DictionaryDetailCreateParams = {
-    /** 编码 */
-    code?: string;
-    /** 字典类型 */
-    dictionaryCode?: string;
-    /** 拓展数据(保存业务功能的配置项) */
-    extend?: string;
-    /** 名称 */
+  /** 数据库查询表(增加参数) */
+  export type DatabaseQueryCreateParams = {
+    /** 查询名称 */
     name?: string;
-    /** 上级 */
-    parentId?: string;
-    /** 备注 */
-    remark?: string;
+    /** 查询编号 */
+    code?: string;
     /** 排序 */
     sort?: number;
-    /** 值 */
-    value?: string;
+    /** 备注 */
+    remark?: string;
+    /** 数据库标识 */
+    configId?: string;
+    /** 查询表 */
+    tables?: DatabaseQueryTableCreateParams[];
+    /** 查询列 */
+    columns?: DatabaseQueryColumnCreateParams[];
   };
 
-  /** 系统字典值表(更新参数) */
-  export type DictionaryDetailUpdateParams = {
-    /** 编码 */
-    code?: string;
-    /** 字典类型 */
-    dictionaryCode?: string;
-    /** 拓展数据(保存业务功能的配置项) */
-    extend?: string;
+  /** 数据库查询表(分页参数) */
+  export type DatabaseQueryOutput = {
     /** 主键 */
-    id?: string;
-    /** 名称 */
+    id?: number;
+    /** 查询名称 */
     name?: string;
-    /** 上级 */
-    parentId?: string;
-    /** 备注 */
-    remark?: string;
+    /** 查询编号 */
+    code?: string;
     /** 排序 */
     sort?: number;
-    /** 值 */
-    value?: string;
+    /** 备注 */
+    remark?: string;
   };
 
-  /** 系统字典类型表(分页参数) */
-  export type DictionaryOutput = {
-    /** 编码 */
-    code?: string;
-    /** 主键 */
-    id?: string;
-    /** 名称 */
+  /** 数据库查询表(数据参数) */
+  export type DatabaseQueryRequest = {
+    /** 编号 */
+    code: string;
+    /** 条件 */
+    conditions?: ConditionalModel[];
+  };
+
+  /** 数据库查询表列表表(增加参数) */
+  export type DatabaseQueryTableCreateParams = {
+    /** 数据库查询表主键 */
+    databaseQueryId?: number;
+    /** 表名称 */
     name?: string;
-    /** 备注 */
-    remark?: string;
+    /** 别名 */
+    alias?: string;
+    /** 主表 */
+    isMain?: boolean;
+    /** 连接表表名,默认为主表 */
+    connectTable?: string;
+    /** 连接表类型,默认LEFT */
+    connectType?: string;
+    /** 连接表字段 */
+    connectColumn?: string;
+    /** 关系字段 */
+    relationColumn?: string;
+    /** 扩展关系 */
+    relationship?: string;
     /** 排序 */
     sort?: number;
-    status?: Status;
   };
 
-  /** 系统字典类型表(更新参数) */
-  export type DictionaryUpdateParams = {
-    /** 编码 */
-    code?: string;
-    /** 主键 */
-    id?: string;
-    /** 名称 */
+  /** 数据库查询表(更新参数) */
+  export type DatabaseQueryUpdateParams = {
+    /** 查询名称 */
     name?: string;
-    /** 备注 */
-    remark?: string;
+    /** 查询编号 */
+    code?: string;
     /** 排序 */
     sort?: number;
-  };
-
-  /** 系统文件(上传) */
-  export type FileUploadOutput = {
-    /** 文件夹ID */
-    folderId?: string;
+    /** 备注 */
+    remark?: string;
+    /** 数据库标识 */
+    configId?: string;
+    /** 查询表 */
+    tables?: DatabaseQueryTableCreateParams[];
+    /** 查询列 */
+    columns?: DatabaseQueryColumnCreateParams[];
     /** 主键 */
-    id?: string;
-    /** 外链地址-OSS上传后生成外链地址方便前端预览 */
-    url?: string;
-  };
-
-  export type KeyCodeRequest = {
-    code: string;
+    id?: number;
   };
 
-  export type KeyRequest = {
-    id: string;
+  /** 数据库表管理 */
+  export type DatabaseTable = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    /** 数据库标识 */
+    configId: string;
+    /** 表名 */
+    name: string;
+    /** 表说明 */
+    description: string;
+    /** 表字段 */
+    columns?: TableColumn[];
   };
 
-  /** 用户登录输出 */
-  export type LoginOutput = {
-    /** 令牌Token */
-    accessToken?: string;
-    /** 刷新Token */
-    refreshToken?: string;
+  /** 数据库表管理(增加参数) */
+  export type DatabaseTableCreateParams = {
+    /** 库标识 */
+    configId?: string;
+    /** 表名(字母形式的) */
+    name?: string;
+    /** 表描述 */
+    description?: string;
+    /** 表字段信息 */
+    columns?: TableColumn[];
   };
 
-  /** 登录输入参数 */
-  export type LoginRequest = {
-    /** 验证码字符 */
-    code?: string;
-    /** 密码 */
-    password: string;
-    /** 验证码Token */
-    token?: string;
-    /** 账号 */
-    username: string;
+  /** 数据库表管理(输出参数) */
+  export type DatabaseTableOutput = {
+    /** 库标识 */
+    configId?: string;
+    /** 表名(字母形式的) */
+    name?: string;
+    /** 表描述 */
+    description?: string;
+    /** 主键 */
+    id?: number;
   };
 
-  /** 登录用户输出信息 */
-  export type LoginUser = {
-    /** 账号名称 */
-    account?: string;
-    /** 头像 */
-    avatar?: string;
-    /** 机构Id */
-    departmentId?: string;
-    /** 机构名称 */
-    departmentName?: string;
-    /** 首页 */
-    homePath?: string;
-    /** 机构类型 */
-    orgType?: string;
-    /** 真实姓名 */
-    realName?: string;
-    /** 用户ID */
-    userId?: string;
+  /** 数据库表管理(更新参数) */
+  export type DatabaseTableUpdateParams = {
+    /** 库标识 */
+    configId?: string;
+    /** 表名(字母形式的) */
+    name?: string;
+    /** 表描述 */
+    description?: string;
+    /** 表字段信息 */
+    columns?: TableColumn[];
+    /** 主键 */
+    id?: number;
   };
 
-  export type Menu = {
-    children?: Menu[];
-    component?: string;
+  export type DictionaryDetail = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    id?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
-    isMake?: number;
-    meta?: RouteMeta;
+    parentId?: number;
+    dictionaryCode?: string;
+    value: string;
+    code: string;
     name?: string;
-    path?: string;
-    permission?: string;
-    pid?: string;
-    redirect?: string;
-    remark?: string;
     sort?: number;
+    remark?: string;
+    extend?: string;
     status?: Status;
-    type?: MenuType;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    children?: DictionaryDetail[];
   };
 
-  /** 菜单(增加参数) */
-  export type MenuCreateParams = {
-    children?: Menu[];
-    component?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    isMake?: number;
-    meta?: RouteMeta;
+  export type EventInfo = {
     name?: string;
-    path?: string;
-    permission?: string;
-    pid?: string;
-    redirect?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    type?: MenuType;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    declaringType?: Type;
+    reflectedType?: Type;
+    module?: Module;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
+    memberType?: MemberTypes;
+    attributes?: EventAttributes;
+    isSpecialName?: boolean;
+    addMethod?: MethodInfo;
+    removeMethod?: MethodInfo;
+    raiseMethod?: MethodInfo;
+    isMulticast?: boolean;
+    eventHandlerType?: Type;
   };
 
-  /** 菜单(修改参数) */
-  export type MenuUpdateParams = {
-    children?: Menu[];
-    component?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    isMake?: number;
-    meta?: RouteMeta;
+  export type FieldInfo = {
     name?: string;
-    path?: string;
-    permission?: string;
-    pid?: string;
-    redirect?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    type?: MenuType;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    declaringType?: Type;
+    reflectedType?: Type;
+    module?: Module;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
+    memberType?: MemberTypes;
+    attributes?: FieldAttributes;
+    fieldType?: Type;
+    isInitOnly?: boolean;
+    isLiteral?: boolean;
+    isNotSerialized?: boolean;
+    isPinvokeImpl?: boolean;
+    isSpecialName?: boolean;
+    isStatic?: boolean;
+    isAssembly?: boolean;
+    isFamily?: boolean;
+    isFamilyAndAssembly?: boolean;
+    isFamilyOrAssembly?: boolean;
+    isPrivate?: boolean;
+    isPublic?: boolean;
+    isSecurityCritical?: boolean;
+    isSecuritySafeCritical?: boolean;
+    isSecurityTransparent?: boolean;
+    fieldHandle?: RuntimeFieldHandle;
   };
 
-  export type OptionsResult = {
-    disabled?: boolean;
+  export type FormApi = {
+    type?: string;
+    url?: string;
+    params?: string;
+    method?: string;
+  };
+
+  export type FormSchema = {
+    fieldName?: string;
     label?: string;
-    value?: any;
+    component?: string;
+    componentProps?: ComponentProps;
   };
 
-  export type Post = {
-    children?: Department[];
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    departmentId?: string;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    parentId?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type Func_StringObject = {
+    target?: any;
+    method?: MethodInfo;
   };
 
-  /** 岗位表(增加参数) */
-  export type PostCreateParams = {
-    children?: Department[];
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    departmentId?: string;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    parentId?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type KeyRequest = {
+    id: number;
   };
 
-  /** 岗位表(分页参数) */
-  export type PostOutput = {
-    children?: Department[];
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    departmentId?: string;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    parentId?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type MemberInfo = {
+    memberType?: MemberTypes;
+    name?: string;
+    declaringType?: Type;
+    reflectedType?: Type;
+    module?: Module;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
   };
 
-  /** 岗位表(更新参数) */
-  export type PostUpdateParams = {
-    children?: Department[];
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    departmentId?: string;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    parentId?: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type MethodBase = {
+    memberType?: MemberTypes;
+    name?: string;
+    declaringType?: Type;
+    reflectedType?: Type;
+    module?: Module;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
+    attributes?: MethodAttributes;
+    methodImplementationFlags?: MethodImplAttributes;
+    callingConvention?: CallingConventions;
+    isAbstract?: boolean;
+    isConstructor?: boolean;
+    isFinal?: boolean;
+    isHideBySig?: boolean;
+    isSpecialName?: boolean;
+    isStatic?: boolean;
+    isVirtual?: boolean;
+    isAssembly?: boolean;
+    isFamily?: boolean;
+    isFamilyAndAssembly?: boolean;
+    isFamilyOrAssembly?: boolean;
+    isPrivate?: boolean;
+    isPublic?: boolean;
+    isConstructedGenericMethod?: boolean;
+    isGenericMethod?: boolean;
+    isGenericMethodDefinition?: boolean;
+    containsGenericParameters?: boolean;
+    methodHandle?: RuntimeMethodHandle;
+    isSecurityCritical?: boolean;
+    isSecuritySafeCritical?: boolean;
+    isSecurityTransparent?: boolean;
   };
 
-  export type RelationRequest = {
-    id: string;
-    relationIds?: string[];
+  export type MethodInfo = {
+    name?: string;
+    declaringType?: Type;
+    reflectedType?: Type;
+    module?: Module;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
+    attributes?: MethodAttributes;
+    methodImplementationFlags?: MethodImplAttributes;
+    callingConvention?: CallingConventions;
+    isAbstract?: boolean;
+    isConstructor?: boolean;
+    isFinal?: boolean;
+    isHideBySig?: boolean;
+    isSpecialName?: boolean;
+    isStatic?: boolean;
+    isVirtual?: boolean;
+    isAssembly?: boolean;
+    isFamily?: boolean;
+    isFamilyAndAssembly?: boolean;
+    isFamilyOrAssembly?: boolean;
+    isPrivate?: boolean;
+    isPublic?: boolean;
+    isConstructedGenericMethod?: boolean;
+    isGenericMethod?: boolean;
+    isGenericMethodDefinition?: boolean;
+    containsGenericParameters?: boolean;
+    methodHandle?: RuntimeMethodHandle;
+    isSecurityCritical?: boolean;
+    isSecuritySafeCritical?: boolean;
+    isSecurityTransparent?: boolean;
+    memberType?: MemberTypes;
+    returnParameter?: ParameterInfo;
+    returnType?: Type;
+    returnTypeCustomAttributes?: ICustomAttributeProvider;
   };
 
-  export type Role = {
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    dataScope?: DataScope;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type Module = {
+    assembly?: Assembly;
+    fullyQualifiedName?: string;
+    name?: string;
+    mdStreamVersion?: number;
+    moduleVersionId?: string;
+    scopeName?: string;
+    moduleHandle?: ModuleHandle;
+    customAttributes?: CustomAttributeData[];
+    metadataToken?: number;
   };
 
-  /** 角色表(增加参数) */
-  export type RoleCreateParams = {
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    dataScope?: DataScope;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type ModuleHandle = {
+    mdStreamVersion?: number;
   };
 
-  /** 角色表(分页参数) */
-  export type RoleOutput = {
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    dataScope?: DataScope;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type OptionsResult = {
+    value?: any;
+    label?: string;
+    disabled?: boolean;
   };
 
-  /** 角色数据 */
-  export type RoleRelationRequest = {
-    dataScope?: DataScope;
-    id: string;
-    relationIds?: string[];
+  export type ParameterInfo = {
+    attributes?: ParameterAttributes;
+    member?: MemberInfo;
+    name?: string;
+    parameterType?: Type;
+    position?: number;
+    isIn?: boolean;
+    isLcid?: boolean;
+    isOptional?: boolean;
+    isOut?: boolean;
+    isRetval?: boolean;
+    defaultValue?: any;
+    rawDefaultValue?: any;
+    hasDefaultValue?: boolean;
+    customAttributes?: CustomAttributeData[];
+    metadataToken?: number;
   };
 
-  /** 角色表(统计列表) */
-  export type RoleStatistics = {
-    /** 用户数量 */
-    count?: number;
-    /** 角色ID */
-    id?: string;
-    /** 角色名称 */
+  export type PropertyInfo = {
     name?: string;
+    declaringType?: Type;
+    reflectedType?: Type;
+    module?: Module;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
+    memberType?: MemberTypes;
+    propertyType?: Type;
+    attributes?: PropertyAttributes;
+    isSpecialName?: boolean;
+    canRead?: boolean;
+    canWrite?: boolean;
+    getMethod?: MethodInfo;
+    setMethod?: MethodInfo;
   };
 
-  /** 角色表(更新参数) */
-  export type RoleUpdateParams = {
-    code?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    dataScope?: DataScope;
-    id?: string;
-    isDelete?: boolean;
-    name: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type RuntimeFieldHandle = {
+    value?: IntPtr;
   };
 
-  export type RouteMeta = {
-    activeIcon?: string;
-    activePath?: string;
-    affixTab?: boolean;
-    hideChildrenInMenu?: boolean;
-    hideInBreadcrumb?: boolean;
-    hideInMenu?: boolean;
-    hideInTab?: boolean;
-    icon?: string;
-    iframeSrc?: string;
-    keepAlive?: boolean;
-    link?: string;
-    menuVisibleWithForbidden?: boolean;
-    noBasicLayout?: boolean;
-    openInNewWindow?: boolean;
-    query?: any;
-    title?: string;
+  export type RuntimeMethodHandle = {
+    value?: IntPtr;
   };
 
-  /** 菜单返回结果 */
-  export type RouteOutput = {
-    /** 菜单子项 */
-    children?: RouteOutput[];
-    /** 组件路径 */
-    component?: string;
-    meta?: RouteMeta;
-    /** 用于配置页面的标题,会在菜单和标签页中显示 */
-    name?: string;
-    /** 路由地址 */
-    path?: string;
-    /** 重定向 */
-    redirect?: string;
+  export type RuntimeTypeHandle = {
+    value?: IntPtr;
   };
 
-  export type SqlSugarPagedList_Config = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: Config[];
+  export type SqlSugarPagedList_CodeGenerate = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: CodeGenerate[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  export type SqlSugarPagedList_DictionaryOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: DictionaryOutput[];
+  export type SqlSugarPagedList_CodeTemplateOutput = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: CodeTemplateOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  export type SqlSugarPagedList_PostOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: PostOutput[];
+  export type SqlSugarPagedList_DatabaseQueryOutput = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: DatabaseQueryOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  export type SqlSugarPagedList_RoleOutput = {
-    hasNextPage?: boolean;
+  export type SqlSugarPagedList_DatabaseTableOutput = {
+    pageIndex?: number;
+    pageSize?: number;
+    total?: number;
+    totalPages?: number;
+    items?: DatabaseTableOutput[];
     hasPrevPage?: boolean;
-    items?: RoleOutput[];
+    hasNextPage?: boolean;
+  };
+
+  export type SqlSugarPagedList_TableQueryOutput = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: TableQueryOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
+  };
+
+  export type StructLayoutAttribute = {
+    typeId?: any;
+    value?: LayoutKind;
+  };
+
+  /** 数据库表字段 */
+  export type TableColumn = {
+    /** 字段名 */
+    columnName?: string;
+    /** 数据库中类型 */
+    dataType?: string;
+    /** 字段描述 */
+    description?: string;
+    /** 主外键 */
+    isPrimarykey?: boolean;
+    /** 是否允许为空 */
+    isNullable?: boolean;
+    /** 小数位数 */
+    decimalDigits?: number;
+    /** 自动增加 */
+    isIdentity?: boolean;
+    /** 长度 */
+    length?: number;
   };
 
-  export type SqlSugarPagedList_TenantOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: TenantOutput[];
-    pageIndex?: number;
-    pageSize?: number;
-    total?: number;
-    totalPages?: number;
+  /** 数据库(增加表字段参数) */
+  export type TableColumnCreateParams = {
+    /** 字段名 */
+    columnName?: string;
+    /** 数据库中类型 */
+    dataType?: string;
+    /** 字段描述 */
+    description?: string;
+    /** 主外键 */
+    isPrimarykey?: boolean;
+    /** 是否允许为空 */
+    isNullable?: boolean;
+    /** 小数位数 */
+    decimalDigits?: number;
+    /** 自动增加 */
+    isIdentity?: boolean;
+    /** 长度 */
+    length?: number;
+    /** 库标识 */
+    configId?: string;
+    /** 表名(字母形式的) */
+    tableName?: string;
   };
 
-  export type SqlSugarPagedList_UserOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: UserOutput[];
-    pageIndex?: number;
-    pageSize?: number;
-    total?: number;
-    totalPages?: number;
+  /** 数据库(删除表字段参数) */
+  export type TableColumnDeleteParams = {
+    /** 库标识 */
+    configId?: string;
+    /** 表名(字母形式的) */
+    tableName?: string;
+    /** 字段名 */
+    columnName?: string;
   };
 
-  export type StatusRequest = {
-    id: string;
-    status?: Status;
+  /** 数据库管理(数据库表列输出参数) */
+  export type TableColumnOuput = {
+    /** 字段名 */
+    columnName?: string;
+    /** 数据库中类型 */
+    dataType?: string;
+    /** 字段描述 */
+    description?: string;
+    /** 主外键 */
+    isPrimarykey?: boolean;
+    /** 是否允许为空 */
+    isNullable?: boolean;
+    /** 小数位数 */
+    decimalDigits?: number;
+    /** 自动增加 */
+    isIdentity?: boolean;
+    /** 长度 */
+    length?: number;
+    /** 实体名称 */
+    entityName?: string;
+    /** .NET字段类型 */
+    netType?: string;
   };
 
-  /** 系统租户(增加参数) */
-  export type TenantCreateParams = {
-    /** 租管账号 */
-    adminAccount: string;
-    configId?: string;
-    connection?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    dbType?: DbType;
-    departmentId?: string;
-    /** 电子邮箱 */
-    email?: string;
-    host?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 租户名称 */
-    name: string;
-    /** 电话 */
-    phone?: string;
-    remark?: string;
-    slaveConnections?: string;
-    sort?: number;
-    status?: Status;
-    tenantType?: TenantType;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    userId?: string;
+  export type TableConfig = {
+    columns?: TableQueryColumn[];
+    search?: TableQuerySearch[];
+    buttons?: TableQueryButton[];
   };
 
-  /** 系统租户(输出参数) */
-  export type TenantListOutput = {
-    /** 数据库标识 */
+  /** 数据库(删除表参数) */
+  export type TableDeleteParams = {
+    /** 库标识 */
     configId?: string;
-    /** 数据库连接 */
-    connection?: string;
-    dbType?: DbType;
-    /** 备注 */
-    remark?: string;
+    /** 表名(字母形式的) */
+    name?: string;
   };
 
-  /** 系统租户(输出参数) */
-  export type TenantOutput = {
-    /** 管理员账号 */
-    adminAccount?: string;
+  /** 数据库管理(数据库表输出参数) */
+  export type TableOutput = {
+    /** 库标识 */
     configId?: string;
-    connection?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    dbType?: DbType;
-    departmentId?: string;
-    /** 电子邮箱 */
-    email?: string;
-    host?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 租户名称 */
+    /** 表名(字母形式的) */
     name?: string;
-    /** 电话 */
-    phone?: string;
-    remark?: string;
-    slaveConnections?: string;
-    sort?: number;
-    status?: Status;
-    tenantType?: TenantType;
-    /** 租户类型名称 */
-    tenantTypeName?: string;
+    /** 表描述 */
+    description?: string;
+    /** 实体名称 */
+    entityName?: string;
+    /** 创建时间 */
+    createTime?: string;
+    /** 更新时间 */
     updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    userId?: string;
   };
 
-  /** 系统租户(更新参数) */
-  export type TenantUpdateParams = {
-    /** 租管账号 */
-    adminAccount: string;
-    configId?: string;
-    connection?: string;
+  export type TableQuery = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    dbType?: DbType;
-    departmentId?: string;
-    /** 电子邮箱 */
-    email?: string;
-    host?: string;
-    id?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
-    /** 租户名称 */
+    tenantId?: number;
+    tableType?: string;
+    tableTypeInfo?: DictionaryDetail;
     name: string;
-    /** 电话 */
-    phone?: string;
-    remark?: string;
-    slaveConnections?: string;
+    code: string;
+    databaseQueryCode: string;
+    config?: TableConfig;
     sort?: number;
+    remark?: string;
+    menuId?: number;
     status?: Status;
-    tenantType?: TenantType;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    userId?: string;
   };
 
-  export type TreeOptionsResult = {
-    children?: TreeOptionsResult[];
-    disabled?: boolean;
+  export type TableQueryButton = {
+    position?: string;
+    access?: string;
     label?: string;
-    parentId?: any;
-    value?: any;
+    api?: FormApi;
   };
 
-  export type User = {
-    account: string;
-    accountType?: AccountType;
-    avatar?: string;
-    birthday?: string;
-    cardType?: CardType;
+  export type TableQueryColumn = {
+    title?: string;
+    field?: string;
+    width?: number;
+    autoWidth?: boolean;
+    align?: string;
+  };
+
+  /** 查询页面设置表(增加参数) */
+  export type TableQueryCreateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    department?: Department;
-    departmentId?: string;
-    departmentName?: string;
-    email?: string;
-    id?: string;
-    idCardNum?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
-    jobNum?: string;
-    lastLoginAddress?: string;
-    lastLoginDevice?: string;
-    lastLoginIp?: string;
-    lastLoginTime?: string;
-    nickName?: string;
-    phone?: string;
-    post?: Post;
-    postId?: string;
-    realName?: string;
-    remark?: string;
-    sex?: Gender;
+    tenantId?: number;
+    tableType?: string;
+    tableTypeInfo?: DictionaryDetail;
+    name: string;
+    code: string;
+    databaseQueryCode: string;
+    config?: TableConfig;
     sort?: number;
+    remark?: string;
+    menuId?: number;
     status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    userType?: UserType;
   };
 
-  /** 用户表(增加参数) */
-  export type UserCreateParams = {
-    account: string;
-    accountType?: AccountType;
-    avatar?: string;
-    birthday?: string;
-    cardType?: CardType;
+  /** 查询页面设置表(分页参数) */
+  export type TableQueryOutput = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    department?: Department;
-    departmentId?: string;
-    departmentName?: string;
-    email?: string;
-    id?: string;
-    idCardNum?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
-    jobNum?: string;
-    lastLoginAddress?: string;
-    lastLoginDevice?: string;
-    lastLoginIp?: string;
-    lastLoginTime?: string;
-    nickName?: string;
-    phone?: string;
-    post?: Post;
-    postId?: string;
-    realName?: string;
-    remark?: string;
-    sex?: Gender;
+    tenantId?: number;
+    tableType?: string;
+    tableTypeInfo?: DictionaryDetail;
+    name: string;
+    code: string;
+    databaseQueryCode: string;
+    config?: TableConfig;
     sort?: number;
+    remark?: string;
+    menuId?: number;
     status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    userType?: UserType;
   };
 
-  /** 用户信息 */
-  export type UserInfo = {
-    /** 用户所有岗位部门编码(英文逗号分隔) */
-    allDeptCode?: string;
-    /** 用户所有岗位部门名称(英文逗号分隔) */
-    allDeptName?: string;
-    /** 编号 */
-    code?: string;
-    /** 部门编号 */
-    deptCode?: string;
-    /** 部门名称 */
-    deptName?: string;
-    /** 名称 */
-    name?: string;
-    /** 性别 */
-    sex?: string;
-    /** 用户类型(4兼职教师,3教师,2学生,1系统管理) */
-    userType?: number;
+  /** 数据查询 */
+  export type TableQueryRequest = {
+    pageIndex?: number;
+    pageSize?: number;
+    sortField?: string;
+    sortType?: string;
+    /** 查询编号 */
+    code: string;
+    /** 窗体值 */
+    formData?: any;
   };
 
-  /** 用户表(分页参数) */
-  export type UserOutput = {
-    /** 账号 */
-    account?: string;
-    accountType?: AccountType;
-    /** 头像 */
-    avatar?: string;
-    /** 出生日期 */
-    birthday?: string;
-    cardType?: CardType;
-    /** 机构Id */
-    departmentId?: string;
-    /** 机构信息 */
-    departmentName?: string;
-    /** 邮箱 */
-    email?: string;
-    /** 用户ID */
-    id?: string;
-    /** 身份证号 */
-    idCardNum?: string;
-    /** 工号 */
-    jobNum?: string;
-    /** 最新登录地点 */
-    lastLoginAddress?: string;
-    /** 最新登录设备 */
-    lastLoginDevice?: string;
-    /** 最新登录Ip */
-    lastLoginIp?: string;
-    /** 最新登录时间 */
-    lastLoginTime?: string;
-    /** 昵称 */
-    nickName?: string;
-    /** 手机号码 */
-    phone?: string;
-    /** 职位Id */
-    postId?: string;
-    /** 职位 */
-    postName?: string;
-    /** 真实姓名 */
-    realName?: string;
-    /** 备注 */
-    remark?: string;
-    sex?: Gender;
-    /** 排序 */
-    sort?: number;
-    status?: Status;
+  export type TableQuerySearch = {
+    title?: string;
+    field?: string;
+    queryType?: ConditionalType;
+    schema?: FormSchema;
   };
 
-  /** 用户表(更新参数) */
-  export type UserUpdateParams = {
-    account: string;
-    accountType?: AccountType;
-    avatar?: string;
-    birthday?: string;
-    cardType?: CardType;
+  /** 查询页面设置表(更新参数) */
+  export type TableQueryUpdateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    department?: Department;
-    departmentId?: string;
-    departmentName?: string;
-    email?: string;
-    id?: string;
-    idCardNum?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
-    jobNum?: string;
-    lastLoginAddress?: string;
-    lastLoginDevice?: string;
-    lastLoginIp?: string;
-    lastLoginTime?: string;
-    nickName?: string;
-    phone?: string;
-    post?: Post;
-    postId?: string;
-    realName?: string;
-    remark?: string;
-    sex?: Gender;
+    tenantId?: number;
+    tableType?: string;
+    tableTypeInfo?: DictionaryDetail;
+    name: string;
+    code: string;
+    databaseQueryCode: string;
+    config?: TableConfig;
     sort?: number;
+    remark?: string;
+    menuId?: number;
     status?: Status;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    userType?: UserType;
   };
 
-  export type XnRestfulResult_Config = {
-    code?: number;
-    data?: Config;
-    extras?: any;
-    message?: any;
+  export type Type = {
+    name?: string;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
+    isInterface?: boolean;
+    memberType?: MemberTypes;
+    namespace?: string;
+    assemblyQualifiedName?: string;
+    fullName?: string;
+    assembly?: Assembly;
+    module?: Module;
+    isNested?: boolean;
+    declaringType?: Type;
+    declaringMethod?: MethodBase;
+    reflectedType?: Type;
+    underlyingSystemType?: Type;
+    isTypeDefinition?: boolean;
+    isArray?: boolean;
+    isByRef?: boolean;
+    isPointer?: boolean;
+    isConstructedGenericType?: boolean;
+    isGenericParameter?: boolean;
+    isGenericTypeParameter?: boolean;
+    isGenericMethodParameter?: boolean;
+    isGenericType?: boolean;
+    isGenericTypeDefinition?: boolean;
+    isSZArray?: boolean;
+    isVariableBoundArray?: boolean;
+    isByRefLike?: boolean;
+    isFunctionPointer?: boolean;
+    isUnmanagedFunctionPointer?: boolean;
+    hasElementType?: boolean;
+    genericTypeArguments?: Type[];
+    genericParameterPosition?: number;
+    genericParameterAttributes?: GenericParameterAttributes;
+    attributes?: TypeAttributes;
+    isAbstract?: boolean;
+    isImport?: boolean;
+    isSealed?: boolean;
+    isSpecialName?: boolean;
+    isClass?: boolean;
+    isNestedAssembly?: boolean;
+    isNestedFamANDAssem?: boolean;
+    isNestedFamily?: boolean;
+    isNestedFamORAssem?: boolean;
+    isNestedPrivate?: boolean;
+    isNestedPublic?: boolean;
+    isNotPublic?: boolean;
+    isPublic?: boolean;
+    isAutoLayout?: boolean;
+    isExplicitLayout?: boolean;
+    isLayoutSequential?: boolean;
+    isAnsiClass?: boolean;
+    isAutoClass?: boolean;
+    isUnicodeClass?: boolean;
+    isCOMObject?: boolean;
+    isContextful?: boolean;
+    isEnum?: boolean;
+    isMarshalByRef?: boolean;
+    isPrimitive?: boolean;
+    isValueType?: boolean;
+    isSignatureType?: boolean;
+    isSecurityCritical?: boolean;
+    isSecuritySafeCritical?: boolean;
+    isSecurityTransparent?: boolean;
+    structLayoutAttribute?: StructLayoutAttribute;
+    typeInitializer?: ConstructorInfo;
+    typeHandle?: RuntimeTypeHandle;
+    guid?: string;
+    baseType?: Type;
+    isSerializable?: boolean;
+    containsGenericParameters?: boolean;
+    isVisible?: boolean;
+  };
+
+  export type TypeInfo = {
+    name?: string;
+    customAttributes?: CustomAttributeData[];
+    isCollectible?: boolean;
+    metadataToken?: number;
+    isInterface?: boolean;
+    memberType?: MemberTypes;
+    namespace?: string;
+    assemblyQualifiedName?: string;
+    fullName?: string;
+    assembly?: Assembly;
+    module?: Module;
+    isNested?: boolean;
+    declaringType?: Type;
+    declaringMethod?: MethodBase;
+    reflectedType?: Type;
+    underlyingSystemType?: Type;
+    isTypeDefinition?: boolean;
+    isArray?: boolean;
+    isByRef?: boolean;
+    isPointer?: boolean;
+    isConstructedGenericType?: boolean;
+    isGenericParameter?: boolean;
+    isGenericTypeParameter?: boolean;
+    isGenericMethodParameter?: boolean;
+    isGenericType?: boolean;
+    isGenericTypeDefinition?: boolean;
+    isSZArray?: boolean;
+    isVariableBoundArray?: boolean;
+    isByRefLike?: boolean;
+    isFunctionPointer?: boolean;
+    isUnmanagedFunctionPointer?: boolean;
+    hasElementType?: boolean;
+    genericTypeArguments?: Type[];
+    genericParameterPosition?: number;
+    genericParameterAttributes?: GenericParameterAttributes;
+    attributes?: TypeAttributes;
+    isAbstract?: boolean;
+    isImport?: boolean;
+    isSealed?: boolean;
+    isSpecialName?: boolean;
+    isClass?: boolean;
+    isNestedAssembly?: boolean;
+    isNestedFamANDAssem?: boolean;
+    isNestedFamily?: boolean;
+    isNestedFamORAssem?: boolean;
+    isNestedPrivate?: boolean;
+    isNestedPublic?: boolean;
+    isNotPublic?: boolean;
+    isPublic?: boolean;
+    isAutoLayout?: boolean;
+    isExplicitLayout?: boolean;
+    isLayoutSequential?: boolean;
+    isAnsiClass?: boolean;
+    isAutoClass?: boolean;
+    isUnicodeClass?: boolean;
+    isCOMObject?: boolean;
+    isContextful?: boolean;
+    isEnum?: boolean;
+    isMarshalByRef?: boolean;
+    isPrimitive?: boolean;
+    isValueType?: boolean;
+    isSignatureType?: boolean;
+    isSecurityCritical?: boolean;
+    isSecuritySafeCritical?: boolean;
+    isSecurityTransparent?: boolean;
+    structLayoutAttribute?: StructLayoutAttribute;
+    typeInitializer?: ConstructorInfo;
+    typeHandle?: RuntimeTypeHandle;
+    guid?: string;
+    baseType?: Type;
+    isSerializable?: boolean;
+    containsGenericParameters?: boolean;
+    isVisible?: boolean;
+    genericTypeParameters?: Type[];
+    declaredConstructors?: ConstructorInfo[];
+    declaredEvents?: EventInfo[];
+    declaredFields?: FieldInfo[];
+    declaredMembers?: MemberInfo[];
+    declaredMethods?: MethodInfo[];
+    declaredNestedTypes?: TypeInfo[];
+    declaredProperties?: PropertyInfo[];
+    implementedInterfaces?: Type[];
+  };
+
+  export type XnRestfulResult_CodeGenerateOutput = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_Department = {
     code?: number;
-    data?: Department;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_Dictionary = {
-    code?: number;
-    data?: Dictionary;
+    data?: CodeGenerateOutput;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_DictionaryDetail = {
-    code?: number;
-    data?: DictionaryDetail;
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_CodeTemplate = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_FileUploadOutput = {
     code?: number;
-    data?: FileUploadOutput;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_IActionResult = {
-    code?: number;
-    data?: IActionResult;
+    data?: CodeTemplate;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_Int32 = {
-    code?: number;
-    data?: number;
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_DatabaseQueryUpdateParams = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_JObject = {
     code?: number;
-    data?: any;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_Config = {
-    code?: number;
-    data?: Config[];
+    data?: DatabaseQueryUpdateParams;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_Department = {
-    code?: number;
-    data?: Department[];
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_DatabaseTable = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_DictionaryDetail = {
     code?: number;
-    data?: DictionaryDetail[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_Int64 = {
-    code?: number;
-    data?: string[];
+    data?: DatabaseTable;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_Menu = {
-    code?: number;
-    data?: Menu[];
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_List_CodeGenerateTemplate = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_OptionsResult = {
     code?: number;
-    data?: OptionsResult[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_RoleOutput = {
-    code?: number;
-    data?: RoleOutput[];
+    data?: CodeGenerateTemplate[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_RoleStatistics = {
-    code?: number;
-    data?: RoleStatistics[];
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_List_DatabaseOutput = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_RouteOutput = {
     code?: number;
-    data?: RouteOutput[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_String = {
-    code?: number;
-    data?: string[];
+    data?: DatabaseOutput[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_TenantListOutput = {
-    code?: number;
-    data?: TenantListOutput[];
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_List_DatabaseQueryColumnOutput = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_TreeOptionsResult = {
     code?: number;
-    data?: TreeOptionsResult[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_List_UserOutput = {
-    code?: number;
-    data?: UserOutput[];
+    data?: DatabaseQueryColumnOutput[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_LoginOutput = {
-    code?: number;
-    data?: LoginOutput;
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_List_OptionsResult = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_LoginUser = {
     code?: number;
-    data?: LoginUser;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_Menu = {
-    code?: number;
-    data?: Menu;
+    data?: OptionsResult[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_Object = {
-    code?: number;
-    data?: any;
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_List_TableColumnOuput = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_Post = {
     code?: number;
-    data?: Post;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_Role = {
-    code?: number;
-    data?: Role;
+    data?: TableColumnOuput[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_RoleRelationRequest = {
-    code?: number;
-    data?: RoleRelationRequest;
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_List_TableOutput = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_SqlSugarPagedList_Config = {
     code?: number;
-    data?: SqlSugarPagedList_Config;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_SqlSugarPagedList_DictionaryOutput = {
-    code?: number;
-    data?: SqlSugarPagedList_DictionaryOutput;
+    data?: TableOutput[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_PostOutput = {
-    code?: number;
-    data?: SqlSugarPagedList_PostOutput;
-    extras?: any;
-    message?: any;
+  export type XnRestfulResult_Object = {
     success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_SqlSugarPagedList_RoleOutput = {
     code?: number;
-    data?: SqlSugarPagedList_RoleOutput;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type XnRestfulResult_SqlSugarPagedList_TenantOutput = {
-    code?: number;
-    data?: SqlSugarPagedList_TenantOutput;
+    data?: any;
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_UserOutput = {
+  export type XnRestfulResult_SqlSugarPagedList_CodeGenerate = {
+    success?: boolean;
     code?: number;
-    data?: SqlSugarPagedList_UserOutput;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: SqlSugarPagedList_CodeGenerate;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_String = {
+  export type XnRestfulResult_SqlSugarPagedList_CodeTemplateOutput = {
+    success?: boolean;
     code?: number;
-    data?: string;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: SqlSugarPagedList_CodeTemplateOutput;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_TenantOutput = {
+  export type XnRestfulResult_SqlSugarPagedList_DatabaseQueryOutput = {
+    success?: boolean;
     code?: number;
-    data?: TenantOutput;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: SqlSugarPagedList_DatabaseQueryOutput;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_User = {
+  export type XnRestfulResult_SqlSugarPagedList_DatabaseTableOutput = {
+    success?: boolean;
     code?: number;
-    data?: User;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: SqlSugarPagedList_DatabaseTableOutput;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_UserInfo = {
+  export type XnRestfulResult_SqlSugarPagedList_TableQueryOutput = {
+    success?: boolean;
     code?: number;
-    data?: UserInfo;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
-  };
-
-  export type Assembly = {
-    codeBase?: string;
-    customAttributes?: CustomAttributeData[];
-    definedTypes?: TypeInfo[];
-    entryPoint?: MethodInfo;
-    escapedCodeBase?: string;
-    exportedTypes?: Type[];
-    fullName?: string;
-    globalAssemblyCache?: boolean;
-    hostContext?: string;
-    imageRuntimeVersion?: string;
-    isCollectible?: boolean;
-    isDynamic?: boolean;
-    isFullyTrusted?: boolean;
-    location?: string;
-    manifestModule?: Module;
-    modules?: Module[];
-    reflectionOnly?: boolean;
-    securityRuleSet?: SecurityRuleSet;
-  };
-
-  /** 代码生成表 */
-  export type CodeGenerate = {
-    /** 作者姓名 */
-    authorName?: string;
-    /** 基类 */
-    baseClassName?: string;
-    /** 业务名 */
-    businessName?: string;
-    /** 类名 */
-    className?: string;
-    /** 模板明细 */
-    codeGenerateDetails?: CodeGenerateDetail[];
-    /** 模板 */
-    codeGenerateTemplates?: CodeGenerateTemplate[];
-    /** 库定位器名 */
-    configId?: string;
-    /** 数据库链接 */
-    connectionString?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    /** 数据库名(保留字段) */
-    dbName?: string;
-    /** 数据库类型 */
-    dbType?: string;
-    /** 说明 */
-    description?: string;
-    /** 生成方式 */
-    generateType?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 菜单编码 */
-    menuId?: string;
-    /** 命名空间 */
-    nameSpace?: string;
-    /** 数据库表名 */
-    tableName?: string;
-    /** 是否移除表前缀 */
-    tablePrefix?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-  };
-
-  /** 系统代码生成(增加参数) */
-  export type CodeGenerateCreateParams = {
-    /** 作者姓名 */
-    authorName?: string;
-    /** 基类 */
-    baseClassName?: string;
-    /** 业务名 */
-    businessName?: string;
-    /** 类名 */
-    className?: string;
-    /** 模板明细 */
-    codeGenerateDetails?: CodeGenerateDetail[];
-    /** 模板 */
-    codeGenerateTemplates?: CodeGenerateTemplate[];
-    /** 库定位器名 */
-    configId?: string;
-    /** 数据库链接 */
-    connectionString?: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    /** 数据库名(保留字段) */
-    dbName?: string;
-    /** 数据库类型 */
-    dbType?: string;
-    /** 说明 */
-    description?: string;
-    /** 生成方式 */
-    generateType?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 菜单编码 */
-    menuId?: string;
-    /** 命名空间 */
-    nameSpace?: string;
-    /** 数据库表名 */
-    tableName?: string;
-    /** 是否移除表前缀 */
-    tablePrefix?: string;
-    /** 模板 */
-    templateIds?: string[];
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    data?: SqlSugarPagedList_TableQueryOutput;
+    extras?: any;
+    timestamp?: number;
   };
 
-  /** 代码生成表配置 */
-  export type CodeGenerateDetail = {
-    /** 代码生成主表Id */
-    codeGenerateId?: string;
-    /** 字段描述 */
-    columnComment?: string;
-    /** 字段数据长度 */
-    columnLength?: number;
-    /** 数据库字段名 */
-    columnName: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    /** 数据库中类型(物理类型) */
-    dataType?: string;
-    /** 小数位数 */
-    decimalDigits?: number;
-    /** 字典编码 */
-    dictTypeCode?: string;
-    /** 显示文本字段 */
-    displayColumn?: string;
-    /** 作用类型(字典) */
-    effectType?: string;
-    /** 实体名称 */
-    entityName: string;
-    /** 外键显示字段 */
-    fkColumnName?: string;
-    /** 外键显示字段.NET类型 */
-    fkColumnNetType?: string;
-    /** 外键实体名称 */
-    fkEntityName?: string;
-    /** 外键表名称 */
-    fkTableName?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 自动增加 */
-    isIdentity?: boolean;
-    /** 是否允许为空 */
-    isNullable?: boolean;
-    /** 主外键 */
-    isPrimarykey?: boolean;
-    /** .NET数据类型 */
-    netType?: string;
-    /** 父级字段 */
-    pidColumn?: string;
-    /** 查询方式 */
-    queryType?: string;
-    /** 是否是查询条件 */
-    queryWhether?: string;
-    /** 排序 */
-    sort?: number;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    /** 选中值字段 */
-    valueColumn?: string;
-    /** 增改 */
-    whetherAddUpdate?: string;
-    /** 是否通用字段 */
-    whetherCommon?: string;
-    /** 是否必填(字典) */
-    whetherRequired?: string;
-    /** 列表是否缩进(字典) */
-    whetherRetract?: string;
-    /** 列表显示 */
-    whetherTable?: string;
+  export type XnRestfulResult_TableQuery = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: TableQuery;
+    extras?: any;
+    timestamp?: number;
   };
 
-  /** 代码生成(输出) */
-  export type CodeGenerateOutput = {
-    /** 作者姓名 */
-    authorName?: string;
-    /** 基类 */
-    baseClassName?: string;
-    /** 业务名 */
-    businessName?: string;
-    /** 类名 */
-    className?: string;
-    /** 库定位器名 */
-    configId?: string;
-    /** 数据库链接 */
-    connectionString?: string;
-    /** 数据库名(保留字段) */
-    dbName?: string;
-    /** 数据库类型 */
-    dbType?: string;
-    /** 说明 */
-    description?: string;
-    /** 生成方式 */
-    generateType?: string;
-    /** ID */
-    id?: string;
-    /** 菜单编码 */
-    menuId?: string;
-    /** 命名空间 */
-    nameSpace?: string;
-    /** 数据库表名 */
-    tableName?: string;
-    /** 是否移除表前缀 */
-    tablePrefix?: string;
-    /** 模板 */
-    templateIds?: string[];
+  /** 参数配置 */
+  export type AuthorizeOutput = {
+    /** authorization code */
+    authorizeUrl?: string;
+    /** 退出 */
+    exitUrl?: string;
   };
-
-  /** 代码生成模板表 */
-  export type CodeGenerateTemplate = {
-    /** 代码生成主表Id */
-    codeGenerateId?: string;
-    codeTemplateType?: CodeTemplateType;
-    id?: string;
-    /** 模板 */
-    template?: string;
-    /** 模板ID */
-    templateId?: string;
-    /** 模板ID */
-    templateName?: string;
+
+  /** 用户表(修改密码参数) */
+  export type ChangePasswordParams = {
+    /** 新密码 */
+    password?: string;
+    /** 源新密码 */
+    sourcePassword?: string;
   };
 
-  /** 系统代码生成(更新参数) */
-  export type CodeGenerateUpdateParams = {
-    /** 作者姓名 */
-    authorName?: string;
-    /** 基类 */
-    baseClassName?: string;
-    /** 业务名 */
-    businessName?: string;
-    /** 类名 */
-    className?: string;
-    /** 模板明细 */
-    codeGenerateDetails?: CodeGenerateDetail[];
-    /** 模板 */
-    codeGenerateTemplates?: CodeGenerateTemplate[];
-    /** 库定位器名 */
-    configId?: string;
-    /** 数据库链接 */
-    connectionString?: string;
+  /** 参数配置表 */
+  export type Config = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    /** 数据库名(保留字段) */
-    dbName?: string;
-    /** 数据库类型 */
-    dbType?: string;
-    /** 说明 */
-    description?: string;
-    /** 生成方式 */
-    generateType?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 菜单编码 */
-    menuId?: string;
-    /** 命名空间 */
-    nameSpace?: string;
-    /** 数据库表名 */
-    tableName?: string;
-    /** 是否移除表前缀 */
-    tablePrefix?: string;
-    /** 模板 */
-    templateIds?: string[];
     updateTime?: string;
-    updateUserId?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
     updateUserName?: string;
+    isDelete?: boolean;
+    /** 名称 */
+    name: string;
+    /** 编码 */
+    code?: string;
+    /** 属性值 */
+    value?: string;
+    /** 系统参数 */
+    isSystem?: boolean;
+    /** 分组编码 */
+    groupCode?: string;
+    /** 排序 */
+    sort?: number;
+    /** 备注 */
+    remark?: string;
   };
 
-  /** 代码模板表 */
-  export type CodeTemplate = {
-    codeTemplateType?: CodeTemplateType;
+  /** 参数配置(增加参数) */
+  export type ConfigCreateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 模板名称 */
-    name?: string;
-    /** 模板内容 */
-    template?: string;
     updateTime?: string;
-    updateUserId?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
     updateUserName?: string;
+    isDelete?: boolean;
+    /** 名称 */
+    name: string;
+    /** 编码 */
+    code?: string;
+    /** 属性值 */
+    value?: string;
+    /** 系统参数 */
+    isSystem?: boolean;
+    /** 分组编码 */
+    groupCode?: string;
+    /** 排序 */
+    sort?: number;
+    /** 备注 */
+    remark?: string;
   };
 
-  /** 代码模板表(增加参数) */
-  export type CodeTemplateCreateParams = {
-    codeTemplateType?: CodeTemplateType;
+  /** 参数配置(修改参数) */
+  export type ConfigUpdateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 模板名称 */
-    name?: string;
-    /** 模板内容 */
-    template?: string;
     updateTime?: string;
-    updateUserId?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
     updateUserName?: string;
+    isDelete?: boolean;
+    /** 名称 */
+    name: string;
+    /** 编码 */
+    code?: string;
+    /** 属性值 */
+    value?: string;
+    /** 系统参数 */
+    isSystem?: boolean;
+    /** 分组编码 */
+    groupCode?: string;
+    /** 排序 */
+    sort?: number;
+    /** 备注 */
+    remark?: string;
   };
 
-  /** 代码模板表(分页参数) */
-  export type CodeTemplateOutput = {
-    codeTemplateType?: CodeTemplateType;
+  export type Department = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 模板名称 */
-    name?: string;
-    /** 模板内容 */
-    template?: string;
     updateTime?: string;
-    updateUserId?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
     updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    parentId?: number;
+    name: string;
+    code?: string;
+    orgType?: string;
+    orgTypeInfo?: DictionaryDetail;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    children?: Department[];
   };
 
-  /** 代码模板表(更新参数) */
-  export type CodeTemplateUpdateParams = {
-    codeTemplateType?: CodeTemplateType;
+  /** 机构(增加参数) */
+  export type DepartmentCreateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 模板名称 */
-    name?: string;
-    /** 模板内容 */
-    template?: string;
     updateTime?: string;
-    updateUserId?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
     updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    parentId?: number;
+    orgType?: string;
+    orgTypeInfo?: DictionaryDetail;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    children?: Department[];
+    /** 机构名称 */
+    name: string;
+    /** 机构编码 */
+    code: string;
   };
 
-  export type ComponentProps = {
-    api?: FormApi;
-    placeholder?: string;
-  };
-
-  export type ConditionalModel = {
-    conditionalType?: ConditionalType;
-    cSharpTypeName?: string;
-    customConditionalFunc?: ICustomConditionalFunc;
-    customParameterValue?: any;
-    fieldName?: string;
-    fieldValue?: string;
-    fieldValueConvertFunc?: Func_StringObject;
-  };
-
-  export type ConstructorInfo = {
-    attributes?: MethodAttributes;
-    callingConvention?: CallingConventions;
-    containsGenericParameters?: boolean;
-    customAttributes?: CustomAttributeData[];
-    declaringType?: Type;
-    isAbstract?: boolean;
-    isAssembly?: boolean;
-    isCollectible?: boolean;
-    isConstructedGenericMethod?: boolean;
-    isConstructor?: boolean;
-    isFamily?: boolean;
-    isFamilyAndAssembly?: boolean;
-    isFamilyOrAssembly?: boolean;
-    isFinal?: boolean;
-    isGenericMethod?: boolean;
-    isGenericMethodDefinition?: boolean;
-    isHideBySig?: boolean;
-    isPrivate?: boolean;
-    isPublic?: boolean;
-    isSecurityCritical?: boolean;
-    isSecuritySafeCritical?: boolean;
-    isSecurityTransparent?: boolean;
-    isSpecialName?: boolean;
-    isStatic?: boolean;
-    isVirtual?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    methodHandle?: RuntimeMethodHandle;
-    methodImplementationFlags?: MethodImplAttributes;
-    module?: Module;
-    name?: string;
-    reflectedType?: Type;
-  };
-
-  export type CustomAttributeData = {
-    attributeType?: Type;
-    constructor?: ConstructorInfo;
-    constructorArguments?: CustomAttributeTypedArgument[];
-    namedArguments?: CustomAttributeNamedArgument[];
-  };
-
-  export type CustomAttributeNamedArgument = {
-    isField?: boolean;
-    memberInfo?: MemberInfo;
-    memberName?: string;
-    typedValue?: CustomAttributeTypedArgument;
-  };
-
-  export type CustomAttributeTypedArgument = {
-    argumentType?: Type;
-    value?: any;
+  /** 机构(更新参数) */
+  export type DepartmentUpdateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    parentId?: number;
+    orgType?: string;
+    orgTypeInfo?: DictionaryDetail;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    children?: Department[];
+    /** 机构名称 */
+    name: string;
+    /** 机构编码 */
+    code: string;
   };
 
-  /** 数据库管理(数据库输出参数) */
-  export type DatabaseOutput = {
-    /** 库定位器名 */
-    configId?: string;
-    /** 数据库连接字符串 */
-    connectionString?: string;
-    dbType?: DbType;
+  export type Dictionary = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    name: string;
+    code: string;
+    sort?: number;
+    remark?: string;
+    status?: Status;
   };
 
-  /** 数据库查询表列表列(增加参数) */
-  export type DatabaseQueryColumnCreateParams = {
-    /** 列名 */
-    alias?: string;
-    /** 数据库查询表主键 */
-    databaseQueryId?: string;
-    /** 列名 */
+  /** 系统字典类型表(增加参数) */
+  export type DictionaryCreateParams = {
+    /** 名称 */
     name?: string;
+    /** 编码 */
+    code?: string;
+    /** 排序 */
+    sort?: number;
     /** 备注 */
     remark?: string;
-    /** 表别名 */
-    tableAlias?: string;
   };
 
-  /** 数据库查询表列表列(分页参数) */
-  export type DatabaseQueryColumnOutput = {
-    /** 列名 */
-    alias?: string;
-    /** 数据库查询表主键 */
-    databaseQueryId?: string;
-    /** 主键 */
-    id?: string;
-    /** 列名 */
+  export type DictionaryDetail = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    parentId?: number;
+    dictionaryCode?: string;
+    value: string;
+    code: string;
     name?: string;
-    /** 备注 */
+    sort?: number;
     remark?: string;
-    /** 表别名 */
-    tableAlias?: string;
+    extend?: string;
+    status?: Status;
+    children?: DictionaryDetail[];
   };
 
-  /** 数据库查询表(增加参数) */
-  export type DatabaseQueryCreateParams = {
-    /** 查询编号 */
+  /** 系统字典值表(增加参数) */
+  export type DictionaryDetailCreateParams = {
+    /** 上级 */
+    parentId?: number;
+    /** 字典类型 */
+    dictionaryCode?: string;
+    /** 值 */
+    value?: string;
+    /** 编码 */
     code?: string;
-    /** 查询列 */
-    columns?: DatabaseQueryColumnCreateParams[];
-    /** 数据库标识 */
-    configId?: string;
-    /** 查询名称 */
+    /** 名称 */
     name?: string;
-    /** 备注 */
-    remark?: string;
     /** 排序 */
     sort?: number;
-    /** 查询表 */
-    tables?: DatabaseQueryTableCreateParams[];
+    /** 备注 */
+    remark?: string;
+    /** 拓展数据(保存业务功能的配置项) */
+    extend?: string;
   };
 
-  /** 数据库查询表(分页参数) */
-  export type DatabaseQueryOutput = {
-    /** 查询编号 */
+  /** 系统字典值表(更新参数) */
+  export type DictionaryDetailUpdateParams = {
+    /** 上级 */
+    parentId?: number;
+    /** 字典类型 */
+    dictionaryCode?: string;
+    /** 值 */
+    value?: string;
+    /** 编码 */
     code?: string;
-    /** 主键 */
-    id?: string;
-    /** 查询名称 */
+    /** 名称 */
     name?: string;
-    /** 备注 */
-    remark?: string;
     /** 排序 */
     sort?: number;
+    /** 备注 */
+    remark?: string;
+    /** 拓展数据(保存业务功能的配置项) */
+    extend?: string;
+    /** 主键 */
+    id?: number;
   };
 
-  /** 数据库查询表(数据参数) */
-  export type DatabaseQueryRequest = {
-    /** 编号 */
-    code: string;
-    /** 条件 */
-    conditions?: ConditionalModel[];
-  };
-
-  /** 数据库查询表列表表(增加参数) */
-  export type DatabaseQueryTableCreateParams = {
-    /** 别名 */
-    alias?: string;
-    /** 连接表字段 */
-    connectColumn?: string;
-    /** 连接表表名,默认为主表 */
-    connectTable?: string;
-    /** 连接表类型,默认LEFT */
-    connectType?: string;
-    /** 数据库查询表主键 */
-    databaseQueryId?: string;
-    /** 主表 */
-    isMain?: boolean;
-    /** 表名称 */
+  /** 系统字典类型表(分页参数) */
+  export type DictionaryOutput = {
+    /** 主键 */
+    id?: number;
+    /** 名称 */
     name?: string;
-    /** 关系字段 */
-    relationColumn?: string;
-    /** 扩展关系 */
-    relationship?: string;
+    /** 编码 */
+    code?: string;
     /** 排序 */
     sort?: number;
+    /** 备注 */
+    remark?: string;
+    status?: Status;
   };
 
-  /** 数据库查询表(更新参数) */
-  export type DatabaseQueryUpdateParams = {
-    /** 查询编号 */
-    code?: string;
-    /** 查询列 */
-    columns?: DatabaseQueryColumnCreateParams[];
-    /** 数据库标识 */
-    configId?: string;
-    /** 主键 */
-    id?: string;
-    /** 查询名称 */
+  /** 系统字典类型表(更新参数) */
+  export type DictionaryUpdateParams = {
+    /** 名称 */
     name?: string;
-    /** 备注 */
-    remark?: string;
+    /** 编码 */
+    code?: string;
     /** 排序 */
     sort?: number;
-    /** 查询表 */
-    tables?: DatabaseQueryTableCreateParams[];
+    /** 备注 */
+    remark?: string;
+    /** 主键 */
+    id?: number;
   };
 
-  /** 数据库表管理 */
-  export type DatabaseTable = {
-    /** 表字段 */
-    columns?: TableColumn[];
-    /** 数据库标识 */
-    configId: string;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    /** 表说明 */
-    description: string;
-    id?: string;
-    isDelete?: boolean;
-    /** 表名 */
-    name: string;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  /** 系统文件(上传) */
+  export type FileUploadOutput = {
+    /** 主键 */
+    id?: number;
+    /** 文件夹ID */
+    folderId?: number;
+    /** 外链地址-OSS上传后生成外链地址方便前端预览 */
+    url?: string;
   };
 
-  /** 数据库表管理(增加参数) */
-  export type DatabaseTableCreateParams = {
-    /** 表字段信息 */
-    columns?: TableColumn[];
-    /** 库标识 */
-    configId?: string;
-    /** 表描述 */
-    description?: string;
-    /** 表名(字母形式的) */
-    name?: string;
+  export type KeyCodeRequest = {
+    code: string;
   };
 
-  /** 数据库表管理(输出参数) */
-  export type DatabaseTableOutput = {
-    /** 库标识 */
-    configId?: string;
-    /** 表描述 */
-    description?: string;
-    /** 主键 */
-    id?: string;
-    /** 表名(字母形式的) */
-    name?: string;
+  export type KeyRequest = {
+    id: number;
   };
 
-  /** 数据库表管理(更新参数) */
-  export type DatabaseTableUpdateParams = {
-    /** 表字段信息 */
-    columns?: TableColumn[];
-    /** 库标识 */
-    configId?: string;
-    /** 表描述 */
-    description?: string;
-    /** 主键 */
-    id?: string;
-    /** 表名(字母形式的) */
-    name?: string;
+  /** 用户登录输出 */
+  export type LoginOutput = {
+    /** 令牌Token */
+    accessToken?: string;
+    /** 刷新Token */
+    refreshToken?: string;
   };
 
-  export type DictionaryDetail = {
-    children?: DictionaryDetail[];
-    code: string;
+  /** 登录输入参数 */
+  export type LoginRequest = {
+    /** 账号 */
+    username: string;
+    /** 密码 */
+    password: string;
+    /** 验证码Token */
+    token?: string;
+    /** 验证码字符 */
+    code?: string;
+  };
+
+  /** 登录用户输出信息 */
+  export type LoginUser = {
+    /** 账号名称 */
+    account?: string;
+    /** 真实姓名 */
+    realName?: string;
+    /** 头像 */
+    avatar?: string;
+    /** 机构Id */
+    departmentId?: number;
+    /** 机构名称 */
+    departmentName?: string;
+    /** 机构类型 */
+    orgType?: string;
+    /** 用户ID */
+    userId?: number;
+    /** 首页 */
+    homePath?: string;
+  };
+
+  export type Menu = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    pid?: number;
+    type?: MenuType;
+    name?: string;
+    path?: string;
+    component?: string;
+    redirect?: string;
+    meta?: RouteMeta;
+    permission?: string;
+    sort?: number;
+    status?: Status;
+    remark?: string;
+    isMake?: number;
+    children?: Menu[];
+  };
+
+  /** 菜单(增加参数) */
+  export type MenuCreateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    dictionaryCode?: string;
-    extend?: string;
-    id?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
+    pid?: number;
+    type?: MenuType;
     name?: string;
-    parentId?: string;
-    remark?: string;
+    path?: string;
+    component?: string;
+    redirect?: string;
+    meta?: RouteMeta;
+    permission?: string;
     sort?: number;
     status?: Status;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
-    value: string;
-  };
-
-  export type EventInfo = {
-    addMethod?: MethodInfo;
-    attributes?: EventAttributes;
-    customAttributes?: CustomAttributeData[];
-    declaringType?: Type;
-    eventHandlerType?: Type;
-    isCollectible?: boolean;
-    isMulticast?: boolean;
-    isSpecialName?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    module?: Module;
-    name?: string;
-    raiseMethod?: MethodInfo;
-    reflectedType?: Type;
-    removeMethod?: MethodInfo;
+    remark?: string;
+    isMake?: number;
+    children?: Menu[];
   };
 
-  export type FieldInfo = {
-    attributes?: FieldAttributes;
-    customAttributes?: CustomAttributeData[];
-    declaringType?: Type;
-    fieldHandle?: RuntimeFieldHandle;
-    fieldType?: Type;
-    isAssembly?: boolean;
-    isCollectible?: boolean;
-    isFamily?: boolean;
-    isFamilyAndAssembly?: boolean;
-    isFamilyOrAssembly?: boolean;
-    isInitOnly?: boolean;
-    isLiteral?: boolean;
-    isNotSerialized?: boolean;
-    isPinvokeImpl?: boolean;
-    isPrivate?: boolean;
-    isPublic?: boolean;
-    isSecurityCritical?: boolean;
-    isSecuritySafeCritical?: boolean;
-    isSecurityTransparent?: boolean;
-    isSpecialName?: boolean;
-    isStatic?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    module?: Module;
+  /** 菜单(修改参数) */
+  export type MenuUpdateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    pid?: number;
+    type?: MenuType;
     name?: string;
-    reflectedType?: Type;
-  };
-
-  export type FormApi = {
-    method?: string;
-    params?: string;
-    type?: string;
-    url?: string;
+    path?: string;
+    component?: string;
+    redirect?: string;
+    meta?: RouteMeta;
+    permission?: string;
+    sort?: number;
+    status?: Status;
+    remark?: string;
+    isMake?: number;
+    children?: Menu[];
   };
 
-  export type FormSchema = {
-    component?: string;
-    componentProps?: ComponentProps;
-    fieldName?: string;
+  export type OptionsResult = {
+    value?: any;
     label?: string;
+    disabled?: boolean;
   };
 
-  export type Func_StringObject = {
-    method?: MethodInfo;
-    target?: any;
+  export type Post = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    name: string;
+    code?: string;
+    parentId?: number;
+    departmentId?: number;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    children?: Department[];
   };
 
-  export type KeyRequest = {
-    id: string;
+  /** 岗位表(增加参数) */
+  export type PostCreateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    name: string;
+    code?: string;
+    parentId?: number;
+    departmentId?: number;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    children?: Department[];
   };
 
-  export type MemberInfo = {
-    customAttributes?: CustomAttributeData[];
-    declaringType?: Type;
-    isCollectible?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    module?: Module;
-    name?: string;
-    reflectedType?: Type;
+  /** 岗位表(分页参数) */
+  export type PostOutput = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    name: string;
+    code?: string;
+    parentId?: number;
+    departmentId?: number;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    children?: Department[];
   };
 
-  export type MethodBase = {
-    attributes?: MethodAttributes;
-    callingConvention?: CallingConventions;
-    containsGenericParameters?: boolean;
-    customAttributes?: CustomAttributeData[];
-    declaringType?: Type;
-    isAbstract?: boolean;
-    isAssembly?: boolean;
-    isCollectible?: boolean;
-    isConstructedGenericMethod?: boolean;
-    isConstructor?: boolean;
-    isFamily?: boolean;
-    isFamilyAndAssembly?: boolean;
-    isFamilyOrAssembly?: boolean;
-    isFinal?: boolean;
-    isGenericMethod?: boolean;
-    isGenericMethodDefinition?: boolean;
-    isHideBySig?: boolean;
-    isPrivate?: boolean;
-    isPublic?: boolean;
-    isSecurityCritical?: boolean;
-    isSecuritySafeCritical?: boolean;
-    isSecurityTransparent?: boolean;
-    isSpecialName?: boolean;
-    isStatic?: boolean;
-    isVirtual?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    methodHandle?: RuntimeMethodHandle;
-    methodImplementationFlags?: MethodImplAttributes;
-    module?: Module;
-    name?: string;
-    reflectedType?: Type;
+  /** 岗位表(更新参数) */
+  export type PostUpdateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    name: string;
+    code?: string;
+    parentId?: number;
+    departmentId?: number;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    children?: Department[];
   };
 
-  export type MethodInfo = {
-    attributes?: MethodAttributes;
-    callingConvention?: CallingConventions;
-    containsGenericParameters?: boolean;
-    customAttributes?: CustomAttributeData[];
-    declaringType?: Type;
-    isAbstract?: boolean;
-    isAssembly?: boolean;
-    isCollectible?: boolean;
-    isConstructedGenericMethod?: boolean;
-    isConstructor?: boolean;
-    isFamily?: boolean;
-    isFamilyAndAssembly?: boolean;
-    isFamilyOrAssembly?: boolean;
-    isFinal?: boolean;
-    isGenericMethod?: boolean;
-    isGenericMethodDefinition?: boolean;
-    isHideBySig?: boolean;
-    isPrivate?: boolean;
-    isPublic?: boolean;
-    isSecurityCritical?: boolean;
-    isSecuritySafeCritical?: boolean;
-    isSecurityTransparent?: boolean;
-    isSpecialName?: boolean;
-    isStatic?: boolean;
-    isVirtual?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    methodHandle?: RuntimeMethodHandle;
-    methodImplementationFlags?: MethodImplAttributes;
-    module?: Module;
-    name?: string;
-    reflectedType?: Type;
-    returnParameter?: ParameterInfo;
-    returnType?: Type;
-    returnTypeCustomAttributes?: ICustomAttributeProvider;
+  export type RelationRequest = {
+    id: number;
+    relationIds?: number[];
   };
 
-  export type Module = {
-    assembly?: Assembly;
-    customAttributes?: CustomAttributeData[];
-    fullyQualifiedName?: string;
-    mdStreamVersion?: number;
-    metadataToken?: number;
-    moduleHandle?: ModuleHandle;
-    moduleVersionId?: string;
-    name?: string;
-    scopeName?: string;
+  export type Role = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    name: string;
+    code?: string;
+    dataScope?: DataScope;
+    sort?: number;
+    remark?: string;
+    status?: Status;
   };
 
-  export type ModuleHandle = {
-    mdStreamVersion?: number;
+  /** 角色表(增加参数) */
+  export type RoleCreateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    name: string;
+    code?: string;
+    dataScope?: DataScope;
+    sort?: number;
+    remark?: string;
+    status?: Status;
   };
 
-  export type OptionsResult = {
-    disabled?: boolean;
-    label?: string;
-    value?: any;
+  /** 角色表(分页参数) */
+  export type RoleOutput = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    name: string;
+    code?: string;
+    dataScope?: DataScope;
+    sort?: number;
+    remark?: string;
+    status?: Status;
   };
 
-  export type ParameterInfo = {
-    attributes?: ParameterAttributes;
-    customAttributes?: CustomAttributeData[];
-    defaultValue?: any;
-    hasDefaultValue?: boolean;
-    isIn?: boolean;
-    isLcid?: boolean;
-    isOptional?: boolean;
-    isOut?: boolean;
-    isRetval?: boolean;
-    member?: MemberInfo;
-    metadataToken?: number;
-    name?: string;
-    parameterType?: Type;
-    position?: number;
-    rawDefaultValue?: any;
+  /** 角色数据 */
+  export type RoleRelationRequest = {
+    id: number;
+    relationIds?: number[];
+    dataScope?: DataScope;
   };
 
-  export type PropertyInfo = {
-    attributes?: PropertyAttributes;
-    canRead?: boolean;
-    canWrite?: boolean;
-    customAttributes?: CustomAttributeData[];
-    declaringType?: Type;
-    getMethod?: MethodInfo;
-    isCollectible?: boolean;
-    isSpecialName?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    module?: Module;
+  /** 角色表(统计列表) */
+  export type RoleStatistics = {
+    /** 角色ID */
+    id?: number;
+    /** 角色名称 */
     name?: string;
-    propertyType?: Type;
-    reflectedType?: Type;
-    setMethod?: MethodInfo;
+    /** 用户数量 */
+    count?: number;
   };
 
-  export type RuntimeFieldHandle = {
-    value?: IntPtr;
+  /** 角色表(更新参数) */
+  export type RoleUpdateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    tenantId?: number;
+    name: string;
+    code?: string;
+    dataScope?: DataScope;
+    sort?: number;
+    remark?: string;
+    status?: Status;
   };
 
-  export type RuntimeMethodHandle = {
-    value?: IntPtr;
+  export type RouteMeta = {
+    activeIcon?: string;
+    activePath?: string;
+    affixTab?: boolean;
+    hideChildrenInMenu?: boolean;
+    hideInBreadcrumb?: boolean;
+    hideInMenu?: boolean;
+    hideInTab?: boolean;
+    icon?: string;
+    iframeSrc?: string;
+    keepAlive?: boolean;
+    link?: string;
+    noBasicLayout?: boolean;
+    openInNewWindow?: boolean;
+    query?: any;
+    title?: string;
+    menuVisibleWithForbidden?: boolean;
   };
 
-  export type RuntimeTypeHandle = {
-    value?: IntPtr;
+  /** 菜单返回结果 */
+  export type RouteOutput = {
+    /** 用于配置页面的标题,会在菜单和标签页中显示 */
+    name?: string;
+    /** 路由地址 */
+    path?: string;
+    /** 组件路径 */
+    component?: string;
+    /** 重定向 */
+    redirect?: string;
+    meta?: RouteMeta;
+    /** 菜单子项 */
+    children?: RouteOutput[];
   };
 
-  export type SqlSugarPagedList_CodeGenerate = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: CodeGenerate[];
+  export type SqlSugarPagedList_Config = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: Config[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  export type SqlSugarPagedList_CodeTemplateOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: CodeTemplateOutput[];
+  export type SqlSugarPagedList_DictionaryOutput = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: DictionaryOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  export type SqlSugarPagedList_DatabaseQueryOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: DatabaseQueryOutput[];
+  export type SqlSugarPagedList_PostOutput = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: PostOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  export type SqlSugarPagedList_DatabaseTableOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: DatabaseTableOutput[];
+  export type SqlSugarPagedList_RoleOutput = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: RoleOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  export type SqlSugarPagedList_TableQueryOutput = {
-    hasNextPage?: boolean;
-    hasPrevPage?: boolean;
-    items?: TableQueryOutput[];
+  export type SqlSugarPagedList_TenantOutput = {
     pageIndex?: number;
     pageSize?: number;
     total?: number;
     totalPages?: number;
+    items?: TenantOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  export type StructLayoutAttribute = {
-    typeId?: any;
-    value?: LayoutKind;
-  };
-
-  /** 数据库表字段 */
-  export type TableColumn = {
-    /** 字段名 */
-    columnName?: string;
-    /** 数据库中类型 */
-    dataType?: string;
-    /** 小数位数 */
-    decimalDigits?: number;
-    /** 字段描述 */
-    description?: string;
-    /** 自动增加 */
-    isIdentity?: boolean;
-    /** 是否允许为空 */
-    isNullable?: boolean;
-    /** 主外键 */
-    isPrimarykey?: boolean;
-    /** 长度 */
-    length?: number;
-  };
-
-  /** 数据库(增加表字段参数) */
-  export type TableColumnCreateParams = {
-    /** 字段名 */
-    columnName?: string;
-    /** 库标识 */
-    configId?: string;
-    /** 数据库中类型 */
-    dataType?: string;
-    /** 小数位数 */
-    decimalDigits?: number;
-    /** 字段描述 */
-    description?: string;
-    /** 自动增加 */
-    isIdentity?: boolean;
-    /** 是否允许为空 */
-    isNullable?: boolean;
-    /** 主外键 */
-    isPrimarykey?: boolean;
-    /** 长度 */
-    length?: number;
-    /** 表名(字母形式的) */
-    tableName?: string;
-  };
-
-  /** 数据库(删除表字段参数) */
-  export type TableColumnDeleteParams = {
-    /** 字段名 */
-    columnName?: string;
-    /** 库标识 */
-    configId?: string;
-    /** 表名(字母形式的) */
-    tableName?: string;
+  export type SqlSugarPagedList_UserOutput = {
+    pageIndex?: number;
+    pageSize?: number;
+    total?: number;
+    totalPages?: number;
+    items?: UserOutput[];
+    hasPrevPage?: boolean;
+    hasNextPage?: boolean;
   };
 
-  /** 数据库管理(数据库表列输出参数) */
-  export type TableColumnOuput = {
-    /** 字段名 */
-    columnName?: string;
-    /** 数据库中类型 */
-    dataType?: string;
-    /** 小数位数 */
-    decimalDigits?: number;
-    /** 字段描述 */
-    description?: string;
-    /** 实体名称 */
-    entityName?: string;
-    /** 自动增加 */
-    isIdentity?: boolean;
-    /** 是否允许为空 */
-    isNullable?: boolean;
-    /** 主外键 */
-    isPrimarykey?: boolean;
-    /** 长度 */
-    length?: number;
-    /** .NET字段类型 */
-    netType?: string;
+  export type StatusRequest = {
+    id: number;
+    status?: Status;
   };
 
-  export type TableConfig = {
-    buttons?: TableQueryButton[];
-    columns?: TableQueryColumn[];
-    search?: TableQuerySearch[];
+  /** 系统租户(增加参数) */
+  export type TenantCreateParams = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    userId?: number;
+    departmentId?: number;
+    host?: string;
+    tenantType?: TenantType;
+    dbType?: DbType;
+    connection?: string;
+    configId?: string;
+    slaveConnections?: string;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    /** 电子邮箱 */
+    email?: string;
+    /** 电话 */
+    phone?: string;
+    /** 租户名称 */
+    name: string;
+    /** 租管账号 */
+    adminAccount: string;
   };
 
-  /** 数据库(删除表参数) */
-  export type TableDeleteParams = {
-    /** 库标识 */
+  /** 系统租户(输出参数) */
+  export type TenantListOutput = {
+    dbType?: DbType;
+    /** 数据库连接 */
+    connection?: string;
+    /** 数据库标识 */
     configId?: string;
-    /** 表名(字母形式的) */
-    name?: string;
+    /** 备注 */
+    remark?: string;
   };
 
-  /** 数据库管理(数据库表输出参数) */
-  export type TableOutput = {
-    /** 库标识 */
-    configId?: string;
-    /** 创建时间 */
+  /** 系统租户(输出参数) */
+  export type TenantOutput = {
+    id?: number;
     createTime?: string;
-    /** 表描述 */
-    description?: string;
-    /** 实体名称 */
-    entityName?: string;
-    /** 表名(字母形式的) */
-    name?: string;
-    /** 更新时间 */
     updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    userId?: number;
+    departmentId?: number;
+    host?: string;
+    tenantType?: TenantType;
+    dbType?: DbType;
+    connection?: string;
+    configId?: string;
+    slaveConnections?: string;
+    sort?: number;
+    remark?: string;
+    status?: Status;
+    /** 租户名称 */
+    name?: string;
+    /** 管理员账号 */
+    adminAccount?: string;
+    /** 电子邮箱 */
+    email?: string;
+    /** 电话 */
+    phone?: string;
+    /** 租户类型名称 */
+    tenantTypeName?: string;
   };
 
-  export type TableQuery = {
-    code: string;
-    config?: TableConfig;
+  /** 系统租户(更新参数) */
+  export type TenantUpdateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    databaseQueryCode: string;
-    id?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
-    menuId?: string;
-    name: string;
-    remark?: string;
+    userId?: number;
+    departmentId?: number;
+    host?: string;
+    tenantType?: TenantType;
+    dbType?: DbType;
+    connection?: string;
+    configId?: string;
+    slaveConnections?: string;
     sort?: number;
+    remark?: string;
     status?: Status;
-    tableType?: string;
-    tableTypeInfo?: DictionaryDetail;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    /** 电子邮箱 */
+    email?: string;
+    /** 电话 */
+    phone?: string;
+    /** 租户名称 */
+    name: string;
+    /** 租管账号 */
+    adminAccount: string;
   };
 
-  export type TableQueryButton = {
-    access?: string;
-    api?: FormApi;
+  export type TreeOptionsResult = {
+    value?: any;
     label?: string;
-    position?: string;
+    disabled?: boolean;
+    parentId?: any;
+    children?: TreeOptionsResult[];
   };
 
-  export type TableQueryColumn = {
-    align?: string;
-    autoWidth?: boolean;
-    field?: string;
-    title?: string;
-    width?: number;
+  export type User = {
+    id?: number;
+    createTime?: string;
+    updateTime?: string;
+    createUserId?: number;
+    createUserName?: string;
+    updateUserId?: number;
+    updateUserName?: string;
+    isDelete?: boolean;
+    departmentId?: number;
+    departmentName?: string;
+    tenantId?: number;
+    account: string;
+    realName?: string;
+    nickName?: string;
+    avatar?: string;
+    sex?: Gender;
+    birthday?: string;
+    phone?: string;
+    cardType?: CardType;
+    idCardNum?: string;
+    email?: string;
+    sort?: number;
+    status?: Status;
+    remark?: string;
+    accountType?: AccountType;
+    department?: Department;
+    postId?: number;
+    post?: Post;
+    jobNum?: string;
+    lastLoginIp?: string;
+    lastLoginAddress?: string;
+    lastLoginTime?: string;
+    lastLoginDevice?: string;
+    userType?: UserType;
   };
 
-  /** 查询页面设置表(增加参数) */
-  export type TableQueryCreateParams = {
-    code: string;
-    config?: TableConfig;
+  /** 用户表(增加参数) */
+  export type UserCreateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    databaseQueryCode: string;
-    id?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
-    menuId?: string;
-    name: string;
+    departmentId?: number;
+    departmentName?: string;
+    tenantId?: number;
+    account: string;
+    realName?: string;
+    nickName?: string;
+    avatar?: string;
+    sex?: Gender;
+    birthday?: string;
+    phone?: string;
+    cardType?: CardType;
+    idCardNum?: string;
+    email?: string;
+    sort?: number;
+    status?: Status;
     remark?: string;
+    accountType?: AccountType;
+    department?: Department;
+    postId?: number;
+    post?: Post;
+    jobNum?: string;
+    lastLoginIp?: string;
+    lastLoginAddress?: string;
+    lastLoginTime?: string;
+    lastLoginDevice?: string;
+    userType?: UserType;
+  };
+
+  /** 用户信息 */
+  export type UserInfo = {
+    /** 部门编号 */
+    deptCode?: string;
+    /** 部门名称 */
+    deptName?: string;
+    /** 编号 */
+    code?: string;
+    /** 名称 */
+    name?: string;
+    /** 用户类型(4兼职教师,3教师,2学生,1系统管理) */
+    userType?: number;
+    /** 性别 */
+    sex?: string;
+    /** 用户所有岗位部门编码(英文逗号分隔) */
+    allDeptCode?: string;
+    /** 用户所有岗位部门名称(英文逗号分隔) */
+    allDeptName?: string;
+  };
+
+  /** 用户表(分页参数) */
+  export type UserOutput = {
+    /** 用户ID */
+    id?: number;
+    /** 账号 */
+    account?: string;
+    /** 真实姓名 */
+    realName?: string;
+    /** 昵称 */
+    nickName?: string;
+    /** 头像 */
+    avatar?: string;
+    sex?: Gender;
+    /** 出生日期 */
+    birthday?: string;
+    /** 手机号码 */
+    phone?: string;
+    cardType?: CardType;
+    /** 身份证号 */
+    idCardNum?: string;
+    /** 邮箱 */
+    email?: string;
+    /** 排序 */
     sort?: number;
     status?: Status;
-    tableType?: string;
-    tableTypeInfo?: DictionaryDetail;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    /** 备注 */
+    remark?: string;
+    accountType?: AccountType;
+    /** 机构Id */
+    departmentId?: number;
+    /** 机构信息 */
+    departmentName?: string;
+    /** 职位Id */
+    postId?: number;
+    /** 职位 */
+    postName?: string;
+    /** 工号 */
+    jobNum?: string;
+    /** 最新登录Ip */
+    lastLoginIp?: string;
+    /** 最新登录地点 */
+    lastLoginAddress?: string;
+    /** 最新登录时间 */
+    lastLoginTime?: string;
+    /** 最新登录设备 */
+    lastLoginDevice?: string;
   };
 
-  /** 查询页面设置表(分页参数) */
-  export type TableQueryOutput = {
-    code: string;
-    config?: TableConfig;
+  /** 用户表(更新参数) */
+  export type UserUpdateParams = {
+    id?: number;
     createTime?: string;
-    createUserId?: string;
+    updateTime?: string;
+    createUserId?: number;
     createUserName?: string;
-    databaseQueryCode: string;
-    id?: string;
+    updateUserId?: number;
+    updateUserName?: string;
     isDelete?: boolean;
-    menuId?: string;
-    name: string;
-    remark?: string;
+    departmentId?: number;
+    departmentName?: string;
+    tenantId?: number;
+    account: string;
+    realName?: string;
+    nickName?: string;
+    avatar?: string;
+    sex?: Gender;
+    birthday?: string;
+    phone?: string;
+    cardType?: CardType;
+    idCardNum?: string;
+    email?: string;
     sort?: number;
     status?: Status;
-    tableType?: string;
-    tableTypeInfo?: DictionaryDetail;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+    remark?: string;
+    accountType?: AccountType;
+    department?: Department;
+    postId?: number;
+    post?: Post;
+    jobNum?: string;
+    lastLoginIp?: string;
+    lastLoginAddress?: string;
+    lastLoginTime?: string;
+    lastLoginDevice?: string;
+    userType?: UserType;
   };
 
-  /** 数据查询 */
-  export type TableQueryRequest = {
-    /** 查询编号 */
-    code: string;
-    /** 窗体值 */
-    formData?: any;
-    pageIndex?: number;
-    pageSize?: number;
-    sortField?: string;
-    sortType?: string;
+  export type XnRestfulResult_AuthorizeOutput = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: AuthorizeOutput;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type TableQuerySearch = {
-    field?: string;
-    queryType?: ConditionalType;
-    schema?: FormSchema;
-    title?: string;
+  export type XnRestfulResult_Config = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: Config;
+    extras?: any;
+    timestamp?: number;
   };
 
-  /** 查询页面设置表(更新参数) */
-  export type TableQueryUpdateParams = {
-    code: string;
-    config?: TableConfig;
-    createTime?: string;
-    createUserId?: string;
-    createUserName?: string;
-    databaseQueryCode: string;
-    id?: string;
-    isDelete?: boolean;
-    menuId?: string;
-    name: string;
-    remark?: string;
-    sort?: number;
-    status?: Status;
-    tableType?: string;
-    tableTypeInfo?: DictionaryDetail;
-    tenantId?: string;
-    updateTime?: string;
-    updateUserId?: string;
-    updateUserName?: string;
+  export type XnRestfulResult_Department = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: Department;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type Type = {
-    assembly?: Assembly;
-    assemblyQualifiedName?: string;
-    attributes?: TypeAttributes;
-    baseType?: Type;
-    containsGenericParameters?: boolean;
-    customAttributes?: CustomAttributeData[];
-    declaringMethod?: MethodBase;
-    declaringType?: Type;
-    fullName?: string;
-    genericParameterAttributes?: GenericParameterAttributes;
-    genericParameterPosition?: number;
-    genericTypeArguments?: Type[];
-    guid?: string;
-    hasElementType?: boolean;
-    isAbstract?: boolean;
-    isAnsiClass?: boolean;
-    isArray?: boolean;
-    isAutoClass?: boolean;
-    isAutoLayout?: boolean;
-    isByRef?: boolean;
-    isByRefLike?: boolean;
-    isClass?: boolean;
-    isCollectible?: boolean;
-    isCOMObject?: boolean;
-    isConstructedGenericType?: boolean;
-    isContextful?: boolean;
-    isEnum?: boolean;
-    isExplicitLayout?: boolean;
-    isFunctionPointer?: boolean;
-    isGenericMethodParameter?: boolean;
-    isGenericParameter?: boolean;
-    isGenericType?: boolean;
-    isGenericTypeDefinition?: boolean;
-    isGenericTypeParameter?: boolean;
-    isImport?: boolean;
-    isInterface?: boolean;
-    isLayoutSequential?: boolean;
-    isMarshalByRef?: boolean;
-    isNested?: boolean;
-    isNestedAssembly?: boolean;
-    isNestedFamANDAssem?: boolean;
-    isNestedFamily?: boolean;
-    isNestedFamORAssem?: boolean;
-    isNestedPrivate?: boolean;
-    isNestedPublic?: boolean;
-    isNotPublic?: boolean;
-    isPointer?: boolean;
-    isPrimitive?: boolean;
-    isPublic?: boolean;
-    isSealed?: boolean;
-    isSecurityCritical?: boolean;
-    isSecuritySafeCritical?: boolean;
-    isSecurityTransparent?: boolean;
-    isSerializable?: boolean;
-    isSignatureType?: boolean;
-    isSpecialName?: boolean;
-    isSZArray?: boolean;
-    isTypeDefinition?: boolean;
-    isUnicodeClass?: boolean;
-    isUnmanagedFunctionPointer?: boolean;
-    isValueType?: boolean;
-    isVariableBoundArray?: boolean;
-    isVisible?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    module?: Module;
-    name?: string;
-    namespace?: string;
-    reflectedType?: Type;
-    structLayoutAttribute?: StructLayoutAttribute;
-    typeHandle?: RuntimeTypeHandle;
-    typeInitializer?: ConstructorInfo;
-    underlyingSystemType?: Type;
+  export type XnRestfulResult_Dictionary = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: Dictionary;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type TypeInfo = {
-    assembly?: Assembly;
-    assemblyQualifiedName?: string;
-    attributes?: TypeAttributes;
-    baseType?: Type;
-    containsGenericParameters?: boolean;
-    customAttributes?: CustomAttributeData[];
-    declaredConstructors?: ConstructorInfo[];
-    declaredEvents?: EventInfo[];
-    declaredFields?: FieldInfo[];
-    declaredMembers?: MemberInfo[];
-    declaredMethods?: MethodInfo[];
-    declaredNestedTypes?: TypeInfo[];
-    declaredProperties?: PropertyInfo[];
-    declaringMethod?: MethodBase;
-    declaringType?: Type;
-    fullName?: string;
-    genericParameterAttributes?: GenericParameterAttributes;
-    genericParameterPosition?: number;
-    genericTypeArguments?: Type[];
-    genericTypeParameters?: Type[];
-    guid?: string;
-    hasElementType?: boolean;
-    implementedInterfaces?: Type[];
-    isAbstract?: boolean;
-    isAnsiClass?: boolean;
-    isArray?: boolean;
-    isAutoClass?: boolean;
-    isAutoLayout?: boolean;
-    isByRef?: boolean;
-    isByRefLike?: boolean;
-    isClass?: boolean;
-    isCollectible?: boolean;
-    isCOMObject?: boolean;
-    isConstructedGenericType?: boolean;
-    isContextful?: boolean;
-    isEnum?: boolean;
-    isExplicitLayout?: boolean;
-    isFunctionPointer?: boolean;
-    isGenericMethodParameter?: boolean;
-    isGenericParameter?: boolean;
-    isGenericType?: boolean;
-    isGenericTypeDefinition?: boolean;
-    isGenericTypeParameter?: boolean;
-    isImport?: boolean;
-    isInterface?: boolean;
-    isLayoutSequential?: boolean;
-    isMarshalByRef?: boolean;
-    isNested?: boolean;
-    isNestedAssembly?: boolean;
-    isNestedFamANDAssem?: boolean;
-    isNestedFamily?: boolean;
-    isNestedFamORAssem?: boolean;
-    isNestedPrivate?: boolean;
-    isNestedPublic?: boolean;
-    isNotPublic?: boolean;
-    isPointer?: boolean;
-    isPrimitive?: boolean;
-    isPublic?: boolean;
-    isSealed?: boolean;
-    isSecurityCritical?: boolean;
-    isSecuritySafeCritical?: boolean;
-    isSecurityTransparent?: boolean;
-    isSerializable?: boolean;
-    isSignatureType?: boolean;
-    isSpecialName?: boolean;
-    isSZArray?: boolean;
-    isTypeDefinition?: boolean;
-    isUnicodeClass?: boolean;
-    isUnmanagedFunctionPointer?: boolean;
-    isValueType?: boolean;
-    isVariableBoundArray?: boolean;
-    isVisible?: boolean;
-    memberType?: MemberTypes;
-    metadataToken?: number;
-    module?: Module;
-    name?: string;
-    namespace?: string;
-    reflectedType?: Type;
-    structLayoutAttribute?: StructLayoutAttribute;
-    typeHandle?: RuntimeTypeHandle;
-    typeInitializer?: ConstructorInfo;
-    underlyingSystemType?: Type;
+  export type XnRestfulResult_DictionaryDetail = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: DictionaryDetail;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_FileUploadOutput = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: FileUploadOutput;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_IActionResult = {
+    success?: boolean;
+    code?: number;
+    message?: any;
+    data?: IActionResult;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_CodeGenerateOutput = {
+  export type XnRestfulResult_Int32 = {
+    success?: boolean;
     code?: number;
-    data?: CodeGenerateOutput;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: number;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_CodeTemplate = {
+  export type XnRestfulResult_JObject = {
+    success?: boolean;
     code?: number;
-    data?: CodeTemplate;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: any;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_DatabaseQueryUpdateParams = {
+  export type XnRestfulResult_List_Config = {
+    success?: boolean;
     code?: number;
-    data?: DatabaseQueryUpdateParams;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: Config[];
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_DatabaseTable = {
+  export type XnRestfulResult_List_Department = {
+    success?: boolean;
     code?: number;
-    data?: DatabaseTable;
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: Department[];
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_CodeGenerateTemplate = {
+  export type XnRestfulResult_List_DictionaryDetail = {
+    success?: boolean;
     code?: number;
-    data?: CodeGenerateTemplate[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: DictionaryDetail[];
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_DatabaseOutput = {
+  export type XnRestfulResult_List_Int64 = {
+    success?: boolean;
     code?: number;
-    data?: DatabaseOutput[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: number[];
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_DatabaseQueryColumnOutput = {
+  export type XnRestfulResult_List_Menu = {
+    success?: boolean;
     code?: number;
-    data?: DatabaseQueryColumnOutput[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: Menu[];
+    extras?: any;
+    timestamp?: number;
   };
 
   export type XnRestfulResult_List_OptionsResult = {
+    success?: boolean;
     code?: number;
+    message?: any;
     data?: OptionsResult[];
     extras?: any;
-    message?: any;
-    success?: boolean;
-    timestamp?: string;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_TableColumnOuput = {
+  export type XnRestfulResult_List_RoleOutput = {
+    success?: boolean;
     code?: number;
-    data?: TableColumnOuput[];
-    extras?: any;
     message?: any;
-    success?: boolean;
-    timestamp?: string;
+    data?: RoleOutput[];
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_List_TableOutput = {
+  export type XnRestfulResult_List_RoleStatistics = {
+    success?: boolean;
     code?: number;
-    data?: TableOutput[];
-    extras?: any;
     message?: any;
+    data?: RoleStatistics[];
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_List_RouteOutput = {
     success?: boolean;
-    timestamp?: string;
+    code?: number;
+    message?: any;
+    data?: RouteOutput[];
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_Object = {
+  export type XnRestfulResult_List_String = {
+    success?: boolean;
     code?: number;
-    data?: any;
+    message?: any;
+    data?: string[];
     extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_List_TenantListOutput = {
+    success?: boolean;
+    code?: number;
     message?: any;
+    data?: TenantListOutput[];
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_List_TreeOptionsResult = {
     success?: boolean;
-    timestamp?: string;
+    code?: number;
+    message?: any;
+    data?: TreeOptionsResult[];
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_CodeGenerate = {
+  export type XnRestfulResult_List_UserOutput = {
+    success?: boolean;
     code?: number;
-    data?: SqlSugarPagedList_CodeGenerate;
+    message?: any;
+    data?: UserOutput[];
     extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_LoginOutput = {
+    success?: boolean;
+    code?: number;
     message?: any;
+    data?: LoginOutput;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_LoginUser = {
     success?: boolean;
-    timestamp?: string;
+    code?: number;
+    message?: any;
+    data?: LoginUser;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_CodeTemplateOutput = {
+  export type XnRestfulResult_Menu = {
+    success?: boolean;
     code?: number;
-    data?: SqlSugarPagedList_CodeTemplateOutput;
+    message?: any;
+    data?: Menu;
     extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_Object = {
+    success?: boolean;
+    code?: number;
     message?: any;
+    data?: any;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_Post = {
     success?: boolean;
-    timestamp?: string;
+    code?: number;
+    message?: any;
+    data?: Post;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_DatabaseQueryOutput = {
+  export type XnRestfulResult_Role = {
+    success?: boolean;
     code?: number;
-    data?: SqlSugarPagedList_DatabaseQueryOutput;
+    message?: any;
+    data?: Role;
     extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_RoleRelationRequest = {
+    success?: boolean;
+    code?: number;
     message?: any;
+    data?: RoleRelationRequest;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_SqlSugarPagedList_Config = {
     success?: boolean;
-    timestamp?: string;
+    code?: number;
+    message?: any;
+    data?: SqlSugarPagedList_Config;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_DatabaseTableOutput = {
+  export type XnRestfulResult_SqlSugarPagedList_DictionaryOutput = {
+    success?: boolean;
     code?: number;
-    data?: SqlSugarPagedList_DatabaseTableOutput;
+    message?: any;
+    data?: SqlSugarPagedList_DictionaryOutput;
     extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_SqlSugarPagedList_PostOutput = {
+    success?: boolean;
+    code?: number;
     message?: any;
+    data?: SqlSugarPagedList_PostOutput;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_SqlSugarPagedList_RoleOutput = {
     success?: boolean;
-    timestamp?: string;
+    code?: number;
+    message?: any;
+    data?: SqlSugarPagedList_RoleOutput;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_SqlSugarPagedList_TableQueryOutput = {
+  export type XnRestfulResult_SqlSugarPagedList_TenantOutput = {
+    success?: boolean;
     code?: number;
-    data?: SqlSugarPagedList_TableQueryOutput;
+    message?: any;
+    data?: SqlSugarPagedList_TenantOutput;
     extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_SqlSugarPagedList_UserOutput = {
+    success?: boolean;
+    code?: number;
     message?: any;
+    data?: SqlSugarPagedList_UserOutput;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_String = {
     success?: boolean;
-    timestamp?: string;
+    code?: number;
+    message?: any;
+    data?: string;
+    extras?: any;
+    timestamp?: number;
   };
 
-  export type XnRestfulResult_TableQuery = {
+  export type XnRestfulResult_TenantOutput = {
+    success?: boolean;
     code?: number;
-    data?: TableQuery;
+    message?: any;
+    data?: TenantOutput;
     extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_User = {
+    success?: boolean;
+    code?: number;
     message?: any;
+    data?: User;
+    extras?: any;
+    timestamp?: number;
+  };
+
+  export type XnRestfulResult_UserInfo = {
     success?: boolean;
-    timestamp?: string;
+    code?: number;
+    message?: any;
+    data?: UserInfo;
+    extras?: any;
+    timestamp?: number;
   };
 }

+ 8 - 0
apps/web-baicai/src/store/app.ts

@@ -9,6 +9,7 @@ interface AccessState {
    * 配置信息
    */
   appInfo: ConfigApi.AppInfo | null;
+  exitUrl: string;
 }
 
 /**
@@ -41,9 +42,16 @@ export const useAppStore = defineStore('web-info', {
       this.setAppInfo(appInfo);
       return appInfo;
     },
+    setExitUrl(url: string) {
+      this.exitUrl = url;
+    },
+    getExitUrl() {
+      return this.exitUrl;
+    },
   },
   state: (): AccessState => ({
     appInfo: null,
+    exitUrl: '',
   }),
   persist: {
     // 持久化

+ 2 - 1
apps/web-baicai/src/store/auth.ts

@@ -83,7 +83,8 @@ export const useAuthStore = defineStore('auth', () => {
   async function logout(redirect: boolean = false) {
     try {
       logoutApi();
-      window.location.href = import.meta.env.VITE_APP_REDIRECTION_URL;
+
+      window.location.href = localStorage.getItem('exitUrl') as string;
     } catch {
       // 不做任何处理
     }

+ 1 - 1
apps/web-baicai/src/utils/gapi/config.cjs

@@ -1,5 +1,5 @@
 module.exports = {
   // swaggerJson: 'https://test.tl.web.yingcaibx.com/api/v2/api-docs?group=1.0%E7%89%88%E6%9C%AC',
   swaggerJson: 'https://192.200.0.198:5001/swagger/',
-  group: ['Default', 'System', 'Design', 'Logging', 'Job', 'Wechat'],
+  group: ['Default', 'System', 'Design', 'Logging', 'Job', 'Wechat', 'Plugins'],
 };

+ 1 - 8
apps/web-baicai/src/utils/gapi/index.cjs

@@ -75,7 +75,7 @@ const IntegerMapping = {
   decimal: 'number',
   int16: 'number',
   int32: 'number',
-  int64: 'string',
+  int64: 'number',
 };
 
 /** 返回结果类型映射 */
@@ -519,13 +519,6 @@ const generateEntity = (schemas, enums, isFirstRun) => {
   execSync(`prettier --write ${TYPING_D}`);
 };
 
-/** 生成控制器文件 */
-
-/** 生成控制器文件 */
-
-/** 生成控制器文件 */
-
-/** 生成控制器文件 */
 /** 生成控制器文件 */
 const generateController = (paths, tagDict, enums, group) => {
   // 创建group对应的目录

+ 8 - 8
apps/web-baicai/src/views/plugins/template/components/edit.vue

@@ -4,7 +4,11 @@ import { computed, ref, unref } from 'vue';
 import { alert, useVbenModal } from '@vben/common-ui';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
-import { PluginsTemplateApi } from '#/api';
+import {
+  PluginsPluginsTemplate,
+  PluginsTemplateEntity,
+  PluginsTemplateUpdate,
+} from '#/service/apis/Plugins/PluginsTemplateController';
 
 import { useSchema } from '../data.config';
 
@@ -38,12 +42,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       const postParams = unref(modelRef);
       Object.assign(postParams, values);
       await (unref(isUpdate)
-        ? PluginsTemplateApi.editDetail(
-            postParams as PluginsTemplateApi.RecordItem,
-          )
-        : PluginsTemplateApi.addDetail(
-            postParams as PluginsTemplateApi.BasicRecordItem,
-          ));
+        ? PluginsTemplateUpdate(postParams as API.SmsTemplateUpdateParams)
+        : PluginsPluginsTemplate(postParams as API.SmsTemplateCreateParams));
 
       alert('操作成功');
 
@@ -61,7 +61,7 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       modelRef.value = { ...data.baseData };
 
       if (unref(isUpdate)) {
-        const entity = await PluginsTemplateApi.getDetail(data.baseData.id);
+        const entity = await PluginsTemplateEntity({ Id: data.baseData.id });
         modelRef.value = { ...entity };
         setValues(entity);
       }

+ 6 - 2
apps/web-baicai/src/views/plugins/template/index.vue

@@ -7,6 +7,10 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { PluginsTemplateApi } from '#/api';
+import {
+  PluginsTemplateDelete,
+  PluginsTemplatePage,
+} from '#/service/apis/Plugins/PluginsTemplateController';
 
 import FormEdit from './components/edit.vue';
 import { useColumns, useSearchSchema } from './data.config';
@@ -20,7 +24,7 @@ const handelSuccess = () => {
   reload();
 };
 const handleDelete = async (id: number) => {
-  await PluginsTemplateApi.deleteDetail(id);
+  await PluginsTemplateDelete({ id });
   message.success('数据删除成功');
   handelSuccess();
 };
@@ -59,7 +63,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await PluginsTemplateApi.getPage({
+            return await PluginsTemplatePage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,

+ 4 - 2
apps/web-baicai/src/views/system/cache/index.vue

@@ -6,10 +6,11 @@ import { onMounted, reactive } from 'vue';
 import { BcNav, BcPage, VbenScrollbar } from '@vben/baicai-ui';
 import { confirm, JsonViewer } from '@vben/common-ui';
 
-import { Button } from 'ant-design-vue';
+import { Button, message } from 'ant-design-vue';
 
 import { CacheApi } from '#/api';
 import { BcTree } from '#/components/bc-tree';
+import { DefaultCache } from '#/service/apis/Default/CacheController';
 
 const props = reactive({
   defaultLayout: [20, 80, 0],
@@ -73,7 +74,8 @@ const handleChange = async (item: Record<string, any>) => {
 const handleDelete = () => {
   if (state.cacheKey) {
     confirm(`确证要删除缓存[${state.cacheKey}]`).then(async () => {
-      await CacheApi.deleteDetail(state.cacheKey);
+      await DefaultCache({ key: state.cacheKey });
+      message.success('启动成功');
       await fetch();
     });
   }

+ 6 - 2
apps/web-baicai/src/views/system/department/components/edit.vue

@@ -5,6 +5,10 @@ import { alert, useVbenModal } from '@vben/common-ui';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
 import { DepartmentApi } from '#/api';
+import {
+  SystemDepartment,
+  SystemDepartmentUpdate,
+} from '#/service/apis/System/DepartmentController';
 
 import { useSchema } from '../data.config';
 
@@ -38,8 +42,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       const postParams = unref(modelRef);
       Object.assign(postParams, values);
       await (unref(isUpdate)
-        ? DepartmentApi.editDetail(postParams as DepartmentApi.RecordItem)
-        : DepartmentApi.addDetail(postParams as DepartmentApi.BasicRecordItem));
+        ? SystemDepartmentUpdate(postParams as API.DepartmentUpdateParams)
+        : SystemDepartment(postParams as API.DepartmentCreateParams));
 
       alert('操作成功');
 

+ 2 - 1
apps/web-baicai/src/views/system/department/index.vue

@@ -7,6 +7,7 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { DepartmentApi } from '#/api';
+import { SystemDepartmentDelete } from '#/service/apis/System/DepartmentController';
 
 import FormEdit from './components/edit.vue';
 import { useColumns, useSearchSchema } from './data.config';
@@ -19,7 +20,7 @@ const handelSuccess = () => {
 };
 
 const handleDelete = async (id: number) => {
-  await DepartmentApi.deleteDetail(id);
+  await SystemDepartmentDelete({ id });
   message.success('数据删除成功');
   handelSuccess();
 };

+ 6 - 2
apps/web-baicai/src/views/system/design/database/components/edit.vue

@@ -14,6 +14,10 @@ import {
   useVbenVxeGrid,
 } from '#/adapter';
 import { DatabaseApi } from '#/api';
+import {
+  DesignDatabaseTable,
+  DesignDatabaseUpdate,
+} from '#/service/apis/Design/DatabaseController';
 
 import {
   entityBase,
@@ -85,8 +89,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       postParams.columns = data.fullData;
 
       await (unref(isUpdate)
-        ? DatabaseApi.editDetail(postParams as DatabaseApi.RecordItem)
-        : DatabaseApi.addDetail(postParams as DatabaseApi.BasicRecordItem));
+        ? DesignDatabaseUpdate(postParams as API.DatabaseTableUpdateParams)
+        : DesignDatabaseTable(postParams as API.DatabaseTableCreateParams));
 
       alert('操作成功');
 

+ 8 - 3
apps/web-baicai/src/views/system/design/database/index.vue

@@ -7,6 +7,11 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { DatabaseApi } from '#/api';
+import {
+  DesignTableCreate,
+  DesignTableDelete,
+  DesignTablePage,
+} from '#/service/apis/Design/DatabaseController';
 
 import FormEdit from './components/edit.vue';
 import { useColumns, useSearchSchema } from './data.config';
@@ -16,13 +21,13 @@ const [FormEditModal, formEditApi] = useVbenModal({
 });
 
 const handleDelete = async (id: number) => {
-  await DatabaseApi.deleteDetail(id);
+  await DesignTableDelete({ id });
   message.success('数据删除成功');
   reload();
 };
 
 const handelCreate = async (id: number) => {
-  await DatabaseApi.getCreate(id);
+  await DesignTableCreate({ Id: id });
   message.success('创建表成功');
   reload();
 };
@@ -70,7 +75,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await DatabaseApi.getPage({
+            return await DesignTablePage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,

+ 12 - 5
apps/web-baicai/src/views/system/design/generate/info/components/edit.vue

@@ -6,7 +6,12 @@ import { alert, useVbenModal } from '@vben/common-ui';
 import { Transfer } from 'ant-design-vue';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
-import { CodeTemplateApi, GenerateApi } from '#/api';
+import { DesignTemplateOptions } from '#/service/apis/Design/CodeTemplateController';
+import {
+  DesignGenerate,
+  DesignGenerateEntity,
+  DesignGenerateUpdate,
+} from '#/service/apis/Design/GenerateController';
 
 import { useSchema } from '../data.config';
 
@@ -43,8 +48,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       values.templateIds = targetKeys.value;
       Object.assign(postParams, values);
       await (unref(isUpdate)
-        ? GenerateApi.editDetail(postParams as GenerateApi.RecordItem)
-        : GenerateApi.addDetail(postParams as GenerateApi.BasicRecordItem));
+        ? DesignGenerateUpdate(postParams as API.CodeGenerateUpdateParams)
+        : DesignGenerate(postParams as API.CodeGenerateCreateParams));
       alert('操作成功');
 
       emit('success');
@@ -61,7 +66,9 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       modelRef.value = { ...data.baseData };
       targetKeys.value = [];
       if (unref(isUpdate)) {
-        const entity = await GenerateApi.getDetail(data.baseData.id);
+        const entity: any = await DesignGenerateEntity({
+          Id: data.baseData.id,
+        });
         modelRef.value = { ...entity };
         targetKeys.value = entity.templateIds.map((item: number) => `${item}`);
         setValues(entity);
@@ -76,7 +83,7 @@ const getTitle = computed(() =>
 );
 
 onMounted(async () => {
-  const data = await CodeTemplateApi.getOptions();
+  const data = await DesignTemplateOptions();
   templateData.value = data.map((item) => ({
     key: `${item.value}`,
     title: item.label,

+ 2 - 2
apps/web-baicai/src/views/system/design/generate/info/components/preview.vue

@@ -7,7 +7,7 @@ import { alert, useVbenModal } from '@vben/common-ui';
 import { useClipboard } from '@vueuse/core';
 import { Button, message, Segmented } from 'ant-design-vue';
 
-import { GenerateApi } from '#/api';
+import { DesignGeneratePreview } from '#/service/apis/Design/GenerateController';
 
 defineOptions({
   name: 'RoleEdit',
@@ -51,7 +51,7 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       const data = getData<Record<string, any>>();
       try {
         state.loading = false;
-        modelRef.value = await GenerateApi.preview(data.baseData.id);
+        modelRef.value = await DesignGeneratePreview({ Id: data.baseData.id });
         state.tableData = modelRef.value.map((item) => item.templateName);
         state.activeKey = state.tableData[0] ?? '';
         state.loading = true;

+ 8 - 3
apps/web-baicai/src/views/system/design/generate/info/index.vue

@@ -7,6 +7,11 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { GenerateApi } from '#/api';
+import {
+  DesignGenerateDelete,
+  DesignGenerateGenerate,
+  DesignGeneratePage,
+} from '#/service/apis/Design/GenerateController';
 
 import FormEdit from './components/edit.vue';
 import FormPreview from './components/preview.vue';
@@ -24,7 +29,7 @@ const handelSuccess = () => {
   reload();
 };
 const handleDelete = async (id: number) => {
-  await GenerateApi.deleteDetail(id);
+  await DesignGenerateDelete({ id });
   message.success('数据删除成功');
   handelSuccess();
 };
@@ -47,7 +52,7 @@ const handlePreview = (record: any) => {
 };
 
 const handleCode = async (id: number) => {
-  await GenerateApi.generate(id);
+  await DesignGenerateGenerate({ id });
   message.success('代码生成成功');
 };
 
@@ -85,7 +90,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await GenerateApi.getPage({
+            return await DesignGeneratePage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,

+ 6 - 4
apps/web-baicai/src/views/system/design/generate/template/components/edit.vue

@@ -5,6 +5,10 @@ import { alert, useVbenModal } from '@vben/common-ui';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
 import { CodeTemplateApi } from '#/api';
+import {
+  DesignCodeTemplate,
+  DesignTemplateUpdate,
+} from '#/service/apis/Design/CodeTemplateController';
 
 import { useSchema } from '../data.config';
 
@@ -38,10 +42,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       const postParams = unref(modelRef);
       Object.assign(postParams, values);
       await (unref(isUpdate)
-        ? CodeTemplateApi.editDetail(postParams as CodeTemplateApi.RecordItem)
-        : CodeTemplateApi.addDetail(
-            postParams as CodeTemplateApi.BasicRecordItem,
-          ));
+        ? DesignTemplateUpdate(postParams as API.CodeTemplateUpdateParams)
+        : DesignCodeTemplate(postParams as API.CodeTemplateUpdateParams));
       alert('操作成功');
 
       emit('success');

+ 6 - 2
apps/web-baicai/src/views/system/design/generate/template/index.vue

@@ -7,6 +7,10 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { CodeTemplateApi } from '#/api';
+import {
+  DesignTemplateDelete,
+  DesignTemplatePage,
+} from '#/service/apis/Design/CodeTemplateController';
 
 import FormEdit from './components/edit.vue';
 import { useColumns, useSearchSchema } from './data.config';
@@ -19,7 +23,7 @@ const handelSuccess = () => {
   reload();
 };
 const handleDelete = async (id: number) => {
-  await CodeTemplateApi.deleteDetail(id);
+  await DesignTemplateDelete({ id });
   message.success('数据删除成功');
   handelSuccess();
 };
@@ -59,7 +63,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await CodeTemplateApi.getPage({
+            return await DesignTemplatePage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,

+ 8 - 5
apps/web-baicai/src/views/system/design/query/components/edit.vue

@@ -7,7 +7,11 @@ import { alert, useVbenModal } from '@vben/common-ui';
 
 import { Steps } from 'ant-design-vue';
 
-import { QueryApi } from '#/api';
+import {
+  DesignQuery,
+  DesignQueryEntity,
+  DesignQueryUpdate,
+} from '#/service/apis/Design/QueryController';
 
 import StepBaseConfig from './step/baseConfig.vue';
 import StepDetailConfig from './step/detailConfig.vue';
@@ -80,10 +84,9 @@ const [Modal, { close, getData, setState }] = useVbenModal({
 
         postParams.tables = tables;
         postParams.columns = columns;
-
         await (unref(isUpdate)
-          ? QueryApi.editDetail(postParams as QueryApi.RecordItem)
-          : QueryApi.addDetail(postParams as QueryApi.BasicRecordItem));
+          ? DesignQueryUpdate(postParams as API.DatabaseQueryUpdateParams)
+          : DesignQuery(postParams as API.DatabaseQueryCreateParams));
         alert('操作成功');
 
         close();
@@ -109,7 +112,7 @@ const [Modal, { close, getData, setState }] = useVbenModal({
       state.stepIndex = 0;
 
       if (unref(isUpdate)) {
-        const entity = await QueryApi.getDetail(data.baseData.id);
+        const entity = await DesignQueryEntity({ id: data.baseData.id });
         modelRef.value = { ...entity };
         stepBaseConfig.value.stepSetValues(entity);
       }

+ 8 - 2
apps/web-baicai/src/views/system/design/query/components/view.vue

@@ -9,6 +9,10 @@ import { Button } from 'ant-design-vue';
 
 import { useVbenVxeGrid } from '#/adapter';
 import { QueryApi } from '#/api';
+import {
+  DesignQueryColumnList,
+  DesignQueryExecuteReal,
+} from '#/service/apis/Design/QueryController';
 
 defineOptions({
   name: 'QueryView',
@@ -24,7 +28,7 @@ const gridOptions = reactive<VxeGridProps<QueryApi.BasicRecordItem>>({
     autoLoad: false,
     ajax: {
       query: async ({ page }) => {
-        return await QueryApi.postExecuteReal({
+        return await DesignQueryExecuteReal({
           pageIndex: page.currentPage,
           pageSize: page.pageSize,
           // conditions: { ...formValues },
@@ -52,7 +56,9 @@ const [Modal, { getData, setState }] = useVbenModal({
 
       modelRef.value = { ...data.baseData };
 
-      const resColumns = await QueryApi.getColumns(data.baseData.code);
+      const resColumns = await DesignQueryColumnList({
+        Code: data.baseData.code,
+      });
 
       const columns: Record<string, any>[] = [
         { align: 'center', title: '序号', type: 'seq', width: 50 },

+ 6 - 2
apps/web-baicai/src/views/system/design/query/index.vue

@@ -7,6 +7,10 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { QueryApi } from '#/api';
+import {
+  DesignQueryDelete,
+  DesignQueryPage,
+} from '#/service/apis/Design/QueryController';
 
 import FormEdit from './components/edit.vue';
 import FormView from './components/view.vue';
@@ -20,7 +24,7 @@ const [FormViewModal, formViewApi] = useVbenModal({
   connectedComponent: FormView,
 });
 const handleDelete = async (id: number) => {
-  await QueryApi.deleteDetail(id);
+  await DesignQueryDelete({ id });
   message.success('数据删除成功');
   reload();
 };
@@ -72,7 +76,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await QueryApi.getPage({
+            return await DesignQueryPage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,

+ 8 - 6
apps/web-baicai/src/views/system/dict/item/edit.vue

@@ -4,7 +4,11 @@ import { computed, ref, unref } from 'vue';
 import { alert, useVbenModal } from '@vben/common-ui';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
-import { DictionaryApi } from '#/api';
+import {
+  SystemDictionaryItem,
+  SystemItemEntity,
+  SystemItemUpdate,
+} from '#/service/apis/System/DictionaryController';
 
 import { useSchema } from './data.config';
 
@@ -37,10 +41,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       const postParams = unref(modelRef);
       Object.assign(postParams, values);
       await (unref(isUpdate)
-        ? DictionaryApi.editItemDetail(postParams as DictionaryApi.RecordItem)
-        : DictionaryApi.addItemDetail(
-            postParams as DictionaryApi.BasicRecordItem,
-          ));
+        ? SystemItemUpdate(postParams as API.DictionaryDetailUpdateParams)
+        : SystemDictionaryItem(postParams as API.DictionaryDetailCreateParams));
 
       alert('操作成功');
 
@@ -58,7 +60,7 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       modelRef.value = { ...data.baseData };
 
       if (unref(isUpdate)) {
-        const entity = await DictionaryApi.getItemDetail(data.baseData.id);
+        const entity = await SystemItemEntity({ Id: data.baseData.id });
         modelRef.value = { ...entity };
         setValues(entity);
       }

+ 2 - 1
apps/web-baicai/src/views/system/dict/item/index.vue

@@ -11,6 +11,7 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { DictionaryApi } from '#/api';
+import { SystemItemDelete } from '#/service/apis/System/DictionaryController';
 
 import { useColumns, useSearchSchema } from './data.config';
 import FormEdit from './edit.vue';
@@ -35,7 +36,7 @@ const handelSuccess = () => {
 };
 
 const handleDelete = async (id: number) => {
-  await DictionaryApi.deleteItemDetail(id);
+  await SystemItemDelete({ id });
   message.success('数据删除成功');
   reload();
 };

+ 8 - 6
apps/web-baicai/src/views/system/dict/type/edit.vue

@@ -4,7 +4,11 @@ import { computed, ref, unref } from 'vue';
 import { alert, useVbenModal } from '@vben/common-ui';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
-import { DictionaryApi } from '#/api';
+import {
+  SystemDictionaryType,
+  SystemTypeEntity,
+  SystemTypeUpdate,
+} from '#/service/apis/System/DictionaryController';
 
 import { useSchema } from './data.config';
 
@@ -34,10 +38,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       const postParams = unref(modelRef);
       Object.assign(postParams, values);
       await (unref(isUpdate)
-        ? DictionaryApi.editTypeDetail(postParams as DictionaryApi.RecordItem)
-        : DictionaryApi.addTypeDetail(
-            postParams as DictionaryApi.BasicRecordItem,
-          ));
+        ? SystemTypeUpdate(postParams as API.DictionaryUpdateParams)
+        : SystemDictionaryType(postParams as API.DictionaryCreateParams));
       alert('操作成功');
 
       emit('success');
@@ -54,7 +56,7 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       modelRef.value = { ...data.baseData };
 
       if (unref(isUpdate)) {
-        const entity = await DictionaryApi.getTypeDetail(data.baseData.id);
+        const entity = await SystemTypeEntity({ Id: data.baseData.id });
         modelRef.value = { ...entity };
         setValues(entity);
       }

+ 6 - 2
apps/web-baicai/src/views/system/dict/type/index.vue

@@ -11,6 +11,10 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { DictionaryApi } from '#/api';
+import {
+  SystemTypeDelete,
+  SystemTypePage,
+} from '#/service/apis/System/DictionaryController';
 
 import { useColumns, useSearchSchema } from './data.config';
 import FormEdit from './edit.vue';
@@ -29,7 +33,7 @@ const handelSuccess = () => {
 };
 
 const handleDelete = async (id: number) => {
-  await DictionaryApi.deleteTypeDetail(id);
+  await SystemTypeDelete({ id });
   message.success('数据删除成功');
   reload();
 };
@@ -80,7 +84,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await DictionaryApi.getTypePage({
+            return await SystemTypePage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,

+ 6 - 2
apps/web-baicai/src/views/system/job/record/index.vue

@@ -9,6 +9,10 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { JobRecordApi } from '#/api';
+import {
+  JobDeleteJob,
+  JobRecordDelete,
+} from '#/service/apis/Job/JobRecordController';
 
 import { useColumns, useSearchSchema } from './data.config';
 
@@ -19,13 +23,13 @@ const handelSuccess = () => {
   reload();
 };
 const handleDelete = async (id: number) => {
-  await JobRecordApi.getDetail(id);
+  await JobRecordDelete({ id });
   message.success('数据删除成功');
   handelSuccess();
 };
 
 const handleClear = async () => {
-  await JobRecordApi.deleteByJob(searchInfo.jobId);
+  await JobDeleteJob({ code: searchInfo.jobId });
   message.success('数据清空成功');
   handelSuccess();
 };

+ 6 - 2
apps/web-baicai/src/views/system/job/term/components/edit.vue

@@ -5,6 +5,10 @@ import { alert, useVbenModal } from '@vben/common-ui';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
 import { JobTermApi } from '#/api';
+import {
+  JobJobTerm,
+  JobTermUpdate,
+} from '#/service/apis/Job/JobTermController';
 
 import { jobScriptCode, useSchema } from '../data.config';
 
@@ -50,8 +54,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       const postParams = unref(modelRef);
       Object.assign(postParams, values);
       await (unref(isUpdate)
-        ? JobTermApi.editDetail(postParams as JobTermApi.RecordItem)
-        : JobTermApi.addDetail(postParams as JobTermApi.BasicRecordItem));
+        ? JobTermUpdate(postParams as API.JobUpdateParams)
+        : JobJobTerm(postParams as API.JobCreateParams));
       alert('操作成功');
 
       emit('success');

+ 14 - 6
apps/web-baicai/src/views/system/job/term/index.vue

@@ -7,6 +7,14 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { JobTermApi } from '#/api';
+import {
+  JobTermCancel,
+  JobTermDelete,
+  JobTermPage,
+  JobTermPause,
+  JobTermRun,
+  JobTermStart,
+} from '#/service/apis/Job/JobTermController';
 
 import FormRecord from '../record/index.vue';
 import FormTrigger from '../trigger/index.vue';
@@ -29,27 +37,27 @@ const handelSuccess = () => {
   reload();
 };
 const handleDelete = async (id: number) => {
-  await JobTermApi.deleteDetail(id);
+  await JobTermDelete({ id });
   message.success('数据删除成功');
   handelSuccess();
 };
 
 const handleStart = async (record: any) => {
-  await JobTermApi.start(record.jobId);
+  await JobTermStart({ code: record.jobId });
   message.success('启动成功');
 };
 
 const handlePause = async (record: any) => {
-  await JobTermApi.pause(record.jobId);
+  await JobTermPause({ code: record.jobId });
   message.success('暂停成功');
 };
 
 const handleCancel = async (record: any) => {
-  await JobTermApi.cancel(record.jobId);
+  await JobTermCancel({ code: record.jobId });
   message.success('取消成功');
 };
 const handleRun = async (record: any) => {
-  await JobTermApi.run(record.jobId);
+  await JobTermRun({ code: record.jobId });
   message.success('执行成功');
 };
 const handleEdit = (record: any, isUpdate: boolean) => {
@@ -127,7 +135,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await JobTermApi.getPage({
+            return await JobTermPage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,

+ 2 - 1
apps/web-baicai/src/views/system/log/audit/index.vue

@@ -5,6 +5,7 @@ import { Page } from '@vben/common-ui';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { LogApi } from '#/api';
+import { LoggingLogauditPage } from '#/service/apis/Logging/LogauditController';
 
 import { useColumns, useSearchSchema } from '../data.config';
 
@@ -30,7 +31,7 @@ const [Grid] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await LogApi.getAuditPage({
+            return await LoggingLogauditPage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,

+ 8 - 4
apps/web-baicai/src/views/system/log/difference/index.vue

@@ -6,7 +6,10 @@ import { confirm, Page } from '@vben/common-ui';
 import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
-import { LogApi } from '#/api';
+import {
+  LoggingLogdifferenceClear,
+  LoggingLogdifferencePage,
+} from '#/service/apis/Logging/LogdifferenceController';
 
 import { useDifferenceColumns, useSearchSchema } from '../data.config';
 
@@ -21,7 +24,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await LogApi.getDifferencePage({
+            return await LoggingLogdifferencePage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,
@@ -40,11 +43,12 @@ const handelClear = () => {
     icon: 'question',
     beforeClose: async ({ isConfirm }: { isConfirm: boolean }) => {
       if (isConfirm) {
-        await LogApi.clearLog('logdifference');
+        await LoggingLogdifferenceClear();
         message.success('数据删除成功');
         reload();
         return true;
-      } else return false;
+      }
+      return true;
     },
   });
 };

+ 8 - 3
apps/web-baicai/src/views/system/log/exception/index.vue

@@ -7,6 +7,10 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { LogApi } from '#/api';
+import {
+  LoggingLogexceptionClear,
+  LoggingLogexceptionPage,
+} from '#/service/apis/Logging/LogexceptionController';
 
 import FormView from '../components/view.vue';
 import { useExceptionColumns, useSearchSchema } from '../data.config';
@@ -47,7 +51,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await LogApi.getExceptionPage({
+            return await LoggingLogexceptionPage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,
@@ -66,11 +70,12 @@ const handelClear = () => {
     icon: 'question',
     beforeClose: async ({ isConfirm }: { isConfirm: boolean }) => {
       if (isConfirm) {
-        await LogApi.clearLog('logException');
+        await LoggingLogexceptionClear();
         message.success('数据删除成功');
         reload();
         return true;
-      } else return false;
+      }
+      return true;
     },
   });
 };

+ 8 - 3
apps/web-baicai/src/views/system/log/operate/index.vue

@@ -7,6 +7,10 @@ import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { LogApi } from '#/api';
+import {
+  LoggingLogoperateClear,
+  LoggingLogoperatePage,
+} from '#/service/apis/Logging/LogoperateController';
 
 import FormView from '../components/view.vue';
 import { useOperateColumns, useSearchSchema } from '../data.config';
@@ -44,7 +48,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await LogApi.getOperatePage({
+            return await LoggingLogoperatePage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,
@@ -63,11 +67,12 @@ const handelClear = () => {
     icon: 'question',
     beforeClose: async ({ isConfirm }: { isConfirm: boolean }) => {
       if (isConfirm) {
-        await LogApi.clearLog('logOperate');
+        await LoggingLogoperateClear();
         message.success('数据删除成功');
         reload();
         return true;
-      } else return false;
+      }
+      return true;
     },
   });
 };

+ 8 - 4
apps/web-baicai/src/views/system/log/visit/index.vue

@@ -6,7 +6,10 @@ import { confirm, Page } from '@vben/common-ui';
 import { Button, message } from 'ant-design-vue';
 
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
-import { LogApi } from '#/api';
+import {
+  LoggingLogvisitClear,
+  LoggingLogvisitPage,
+} from '#/service/apis/Logging/LogvisitController';
 
 import { useSearchSchema, useVisitColumns } from '../data.config';
 
@@ -22,7 +25,7 @@ const [Grid, { reload }] = useVbenVxeGrid(
       proxyConfig: {
         ajax: {
           query: async ({ page }, formValues) => {
-            return await LogApi.getVisitPage({
+            return await LoggingLogvisitPage({
               pageIndex: page.currentPage,
               pageSize: page.pageSize,
               ...formValues,
@@ -41,11 +44,12 @@ const handelClear = () => {
     icon: 'question',
     beforeClose: async ({ isConfirm }: { isConfirm: boolean }) => {
       if (isConfirm) {
-        await LogApi.clearLog('logVisit');
+        await LoggingLogvisitClear();
         message.success('数据删除成功');
         reload();
         return true;
-      } else return false;
+      }
+      return true;
     },
   });
 };

+ 2 - 1
apps/web-baicai/src/views/system/menu/components/edit.vue

@@ -19,7 +19,7 @@ const emit = defineEmits(['success']);
 const modelRef = ref<Record<string, any>>({});
 const isUpdate = ref(true);
 
-const [Form, { validate, setValues, getValues }] = useVbenForm(
+const [Form, { validate, setValues, getValues, resetForm }] = useVbenForm(
   useFormOptions({
     commonConfig: {
       colon: true,
@@ -33,6 +33,7 @@ const [Form, { validate, setValues, getValues }] = useVbenForm(
 const [Drawer, { close, setState, getData, lock, unlock }] = useVbenDrawer({
   closeOnClickModal: false,
   onCancel() {
+    resetForm();
     close();
   },
   onConfirm: async () => {

+ 88 - 0
apps/web-baicai/src/views/system/ossLogin/components/data.config.ts

@@ -0,0 +1,88 @@
+import type { VbenFormSchema } from '@vben/common-ui';
+
+export const useSmsSchema = (): VbenFormSchema[] => {
+  return [
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '请输入认证地址',
+      },
+      fieldName: 'authorizeUrl',
+      label: '认证地址',
+      rules: 'required',
+    },
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '请输入登录地址',
+      },
+      fieldName: 'loginUserUrl',
+      label: '校验token',
+      rules: 'required',
+    },
+
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '请输入重定向地址',
+      },
+      fieldName: 'redirectUri',
+      label: '重定向地址',
+      rules: 'required',
+    },
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '请输入系统id',
+      },
+      fieldName: 'clientId',
+      label: '系统标识',
+      rules: 'required',
+    },
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '认证方式默认为CODE',
+      },
+      fieldName: 'grantType',
+      label: '认证方式',
+      rules: 'required',
+    },
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '请输入系统密钥',
+      },
+      fieldName: 'clientSecret',
+      label: '系统密钥',
+      rules: 'required',
+    },
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '请输入授权地址',
+      },
+      fieldName: 'tokenUrl',
+      label: '授权地址',
+      rules: 'required',
+    },
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '请输入用户信息地址',
+      },
+      fieldName: 'userInfoUrl',
+      label: '用户信息地址',
+      rules: 'required',
+    },
+    {
+      component: 'Input',
+      componentProps: {
+        placeholder: '请输入登出地址',
+      },
+      fieldName: 'exitUrl',
+      label: '登出地址',
+      rules: 'required',
+    },
+  ];
+};

+ 35 - 0
apps/web-baicai/src/views/system/ossLogin/config.vue

@@ -0,0 +1,35 @@
+<script lang="ts" setup>
+import { onMounted } from 'vue';
+
+import { alert, Page } from '@vben/common-ui';
+
+import { useFormOptions, useVbenForm } from '#/adapter';
+import {
+  PluginsConfigSync,
+  PluginsSyncEntity,
+} from '#/service/apis/Plugins/PluginsConfigController';
+
+import { useSmsSchema } from './components/data.config';
+
+const [FormSms, formSmsApi] = useVbenForm(
+  useFormOptions({
+    showDefaultActions: true,
+    schema: useSmsSchema(),
+    handleSubmit: async (values: Record<string, any>) => {
+      await PluginsConfigSync(values as PluginsConfigApi.SmsConfig);
+      alert('保存成功');
+    },
+  }),
+);
+
+onMounted(async () => {
+  const smsData = await PluginsSyncEntity();
+  formSmsApi.setValues(smsData);
+});
+</script>
+
+<template>
+  <Page auto-content-height>
+    <FormSms />
+  </Page>
+</template>

+ 26 - 18
apps/web-baicai/src/views/system/ossLogin/index.vue

@@ -12,9 +12,14 @@ import { useAccessStore, useUserStore } from '@vben/stores';
 import { notification } from 'ant-design-vue';
 
 import { getAccessCodesApi } from '#/api';
-import { SystemSyncLogin } from '#/service/apis/System/SyncController';
+import {
+  SystemSyncAuthorize,
+  SystemSyncLogin,
+} from '#/service/apis/System/SyncController';
+import { useAppStore } from '#/store';
 import { useAuthStore } from '#/store/auth';
 
+const appStore = useAppStore();
 const accessStore = useAccessStore();
 const userStore = useUserStore();
 const router = useRouter();
@@ -31,9 +36,7 @@ onMounted(async () => {
       });
       if (accessToken) {
         let userInfo: null | UserInfo = null;
-
         accessStore.setAccessToken(accessToken);
-
         // 获取用户信息并存储到 accessStore 中
         const [fetchUserInfoResult, accessCodes] = await Promise.all([
           authStore.fetchUserInfo(),
@@ -68,22 +71,27 @@ onMounted(async () => {
   }
   // console.log(code);
 });
-const handleSSOLogin = () => {
-  const clientId = 'xsgrnlyhxt'; // 替换为实际的client_id
-  const redirectUri = encodeURIComponent(`${window.location.origin}/ossLogin`); // 回调地址
-  const state = Math.random().toString(36).slice(2, 15); // 随机state参数用于安全验证
-
-  // 保存state到sessionStorage用于后续验证
-  sessionStorage.setItem('sso_state', state);
-
-  // 根据环境选择不同的SSO地址
-  let ssoUrl = '';
-  if (import.meta.env.MODE === 'development') {
-    ssoUrl = `https://sso.cquet.edu.cn/oauth/authorize?client_id=${clientId}&redirect_uri=${redirectUri}&response_type=code&state=${state}`;
-  } else if (import.meta.env.MODE === 'production') {
-    ssoUrl = `https://sso.cquet.edu.cn/oauth/authorize?client_id=${clientId}&redirect_uri=${redirectUri}&response_type=code&state=${state}`;
+const handleSSOLogin = async () => {
+  const { authorizeUrl, exitUrl } = await SystemSyncAuthorize();
+  if (authorizeUrl && exitUrl) {
+    appStore.setExitUrl(exitUrl);
+    window.location.href = authorizeUrl;
   }
-  window.location.href = ssoUrl;
+  // const clientId = 'xsgrnlyhxt'; // 替换为实际的client_id
+  // const redirectUri = encodeURIComponent(`${window.location.origin}/ossLogin`); // 回调地址
+  // const state = Math.random().toString(36).slice(2, 15); // 随机state参数用于安全验证
+  //
+  // // 保存state到sessionStorage用于后续验证
+  // sessionStorage.setItem('sso_state', state);
+  //
+  // // 根据环境选择不同的SSO地址
+  // let ssoUrl = '';
+  // if (import.meta.env.MODE === 'development') {
+  //   ssoUrl = `https://sso.cquet.edu.cn/oauth/authorize?client_id=${clientId}&redirect_uri=${redirectUri}&response_type=code&state=${state}`;
+  // } else if (import.meta.env.MODE === 'production') {
+  //   ssoUrl = `https://sso.cquet.edu.cn/oauth/authorize?client_id=${clientId}&redirect_uri=${redirectUri}&response_type=code&state=${state}`;
+  // }
+  // window.location.href = ssoUrl;
 };
 </script>
 

+ 8 - 4
apps/web-baicai/src/views/system/role/components/edit.vue

@@ -4,7 +4,11 @@ import { computed, ref, unref } from 'vue';
 import { alert, useVbenModal } from '@vben/common-ui';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
-import { RoleApi } from '#/api';
+import {
+  SystemRole,
+  SystemRoleEntity,
+  SystemRoleUpdate,
+} from '#/service/apis/System/RoleController';
 
 import { useSchema } from '../data.config';
 
@@ -37,8 +41,8 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       const postParams = unref(modelRef);
       Object.assign(postParams, values);
       await (unref(isUpdate)
-        ? RoleApi.editDetail(postParams as RoleApi.RecordItem)
-        : RoleApi.addDetail(postParams as RoleApi.BasicRecordItem));
+        ? SystemRoleUpdate(postParams as API.RoleUpdateParams)
+        : SystemRole(postParams as API.RoleCreateParams));
       alert('操作成功');
 
       emit('success');
@@ -55,7 +59,7 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       modelRef.value = { ...data.baseData };
 
       if (unref(isUpdate)) {
-        const entity = await RoleApi.getDetail(data.baseData.id);
+        const entity = await SystemRoleEntity({ Id: data.baseData.id });
         modelRef.value = { ...entity };
         setValues(entity);
       }

+ 7 - 5
apps/web-baicai/src/views/system/role/components/grant.vue

@@ -3,8 +3,6 @@ import type { DataNode } from 'ant-design-vue/es/tree';
 
 import type { Recordable } from '@vben/types';
 
-import type { RelationRequest } from '#/api/model';
-
 import { onMounted, reactive, ref, unref } from 'vue';
 
 import { alert, useVbenModal, VbenTree } from '@vben/common-ui';
@@ -12,7 +10,11 @@ import { alert, useVbenModal, VbenTree } from '@vben/common-ui';
 import { Spin } from 'ant-design-vue';
 
 import { useFormOptions, useVbenForm } from '#/adapter';
-import { DepartmentApi, EnumApi, RoleApi } from '#/api';
+import { DepartmentApi, EnumApi } from '#/api';
+import {
+  SystemRoleGetdatascope,
+  SystemRoleUpdatedatascope,
+} from '#/service/apis/System/RoleController';
 
 defineOptions({
   name: 'DataGrant',
@@ -62,7 +64,7 @@ const [Form, { setValues, validate, getValues }] = useVbenForm(
 );
 
 const getRoleDetailData = async () => {
-  const data = await RoleApi.getDataScope(unref(modelRef).id);
+  const data = await SystemRoleGetdatascope({ Id: unref(modelRef).id });
   setValues({ ...data });
 };
 
@@ -82,7 +84,7 @@ const [Modal, { close, setState, getData, lock, unlock }] = useVbenModal({
       if (postParams.dataScope !== 5) {
         postParams.relationIds = [];
       }
-      await RoleApi.updateDataScope(postParams as RelationRequest);
+      await SystemRoleUpdatedatascope(postParams as API.RoleRelationRequest);
       alert('操作成功');
       close();
       emit('success');

+ 8 - 3
apps/web-baicai/src/views/system/role/index.vue

@@ -8,6 +8,11 @@ import { Button, message } from 'ant-design-vue';
 import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { RoleApi, UserApi } from '#/api';
 import { SelectCard } from '#/components/select-card';
+import {
+  SystemRoleDelete,
+  SystemRoleStatus,
+  SystemRoleUserIds,
+} from '#/service/apis/System/RoleController';
 import MenuGrant from '#/views/system/menu/components/grant.vue';
 
 import FormEdit from './components/edit.vue';
@@ -15,7 +20,7 @@ import DataGrant from './components/grant.vue';
 import { useColumns, useSearchSchema } from './data.config';
 
 const handleDelete = async (id: number) => {
-  await RoleApi.deleteDetail(id);
+  await SystemRoleDelete({ id });
   message.success('数据删除成功');
   reload();
 };
@@ -90,7 +95,7 @@ const [DataGrantModal, dataGrantApi] = useVbenModal({
 });
 
 const handleUpdateStatus = async (record: any) => {
-  await RoleApi.updateStatus({
+  await SystemRoleStatus({
     id: record.id,
     status: record.status === 1 ? 2 : 1,
   });
@@ -122,7 +127,7 @@ const handleGrantData = async (id: number) => {
     .open();
 };
 const handleGrantUser = async (id: number) => {
-  const selectedIds = await RoleApi.getUserIds(id);
+  const selectedIds = await SystemRoleUserIds({ Id: id });
   selectCardApi
     .setData({
       baseData: {

+ 11 - 5
apps/web-baicai/src/views/system/user/index.vue

@@ -13,6 +13,12 @@ import { useTableGridOptions, useVbenVxeGrid } from '#/adapter';
 import { DepartmentApi, RoleApi, UserApi } from '#/api';
 import { BcTree } from '#/components/bc-tree';
 import { SelectCard } from '#/components/select-card';
+import {
+  SystemUserDelete,
+  SystemUserGrant,
+  SystemUserResetPassword,
+  SystemUserStatus,
+} from '#/service/apis/System/UserController';
 
 import FormEdit from './components/edit.vue';
 import { useColumns, useSearchSchema } from './data.config';
@@ -29,7 +35,7 @@ const [SelectCardModal, selectCardApi] = useVbenModal({
 });
 
 const handelResetPassword = async (id: number) => {
-  const data = await UserApi.resetPassword([id]);
+  const data = await SystemUserResetPassword([id]);
   confirm({
     title: '重置成功',
     content: `新密码为:${data}`,
@@ -44,14 +50,14 @@ const handelResetPassword = async (id: number) => {
   });
 };
 
-const handleDelete = async (id: number) => {
-  await UserApi.deleteDetail(id);
+const handleDelete = async (id: string) => {
+  await SystemUserDelete({ id });
   message.success('数据删除成功');
   reload();
 };
 
 const handleUpdateStatus = async (record: any) => {
-  await UserApi.updateStatus({
+  await SystemUserStatus({
     id: record.id,
     status: record.status === 1 ? 2 : 1,
   });
@@ -95,7 +101,7 @@ const handelSuccess = () => {
 };
 
 const handelRoleSuccess = async (data: any) => {
-  await UserApi.updateGrantRole({ id: data.key, relationIds: data.ids });
+  await SystemUserGrant({ id: data.key, relationIds: data.ids });
   message.success('授权成功');
 };
 

BIN
packages/@core/base/icons/logo.png