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

feat:应用授权页增加修改、设备管理按钮;新增最小可用版本信息

Zhenghanjv 4 месяцев назад
Родитель
Сommit
6ed068a7f4

+ 2 - 1
admin.ui.plus-master/.env.development

@@ -4,7 +4,8 @@ ENV = 'development'
 # 本地环境接口地址
 # VITE_API_URL = 'http://ipos.biz:8070'
 #  VITE_API_URL = 'http://192.168.0.202:8003'
-VITE_API_URL = 'http://dev.hsfuel.com:8070'
+VITE_API_URL = 'http://localhost:8003'
+# VITE_API_URL = 'http://dev.hsfuel.com:8070'
 # VITE_API_URL = 'http://47.101.220.106:8070'
 # VITE_API_URL = 'http://ipos.biz:8070'
 

+ 2 - 1
admin.ui.plus-master/.env.production

@@ -10,6 +10,7 @@ VITE_PUBLIC_PATH = '/'
 # 线上环境接口地址
 # VITE_API_URL = 'http://ipos.biz:8070'
 # VITE_API_URL = 'http://localhost:8000'
-VITE_API_URL = 'http://dev.hsfuel.com:8070'
+VITE_API_URL = 'http://localhost:8003'
+# VITE_API_URL = 'http://dev.hsfuel.com:8070'
 # VITE_API_URL = 'http://47.101.220.106:8070'
 # VITE_API_URL = 'http://ipos.biz:8070'

+ 4750 - 4746
admin.ui.plus-master/src/api/admin/data-contracts.ts

@@ -1,4746 +1,4750 @@
-/* eslint-disable */
-/* tslint:disable */
-/*
- * ---------------------------------------------------------------
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API        ##
- * ##                                                           ##
- * ## AUTHOR: acacode                                           ##
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
- * ---------------------------------------------------------------
- */
-
-/** 添加 */
-export interface ApiAddInput {
-  /**
-   * 所属模块
-   * @format int64
-   */
-  parentId?: number | null
-  /** 接口名称 */
-  label?: string | null
-  /** 接口地址 */
-  path?: string | null
-  /** 接口提交方法 */
-  httpMethods?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-}
-
-/** 接口管理 */
-export interface ApiEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 所属模块
-   * @format int64
-   */
-  parentId?: number
-  /** 接口命名 */
-  name?: string | null
-  /** 接口名称 */
-  label?: string | null
-  /** 接口地址 */
-  path?: string | null
-  /** 接口提交方法 */
-  httpMethods?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  childs?: ApiEntity[] | null
-  permissions?: PermissionEntity[] | null
-}
-
-export interface ApiGetOutput {
-  /**
-   * 所属模块
-   * @format int64
-   */
-  parentId?: number | null
-  /** 接口名称 */
-  label?: string | null
-  /** 接口地址 */
-  path?: string | null
-  /** 接口提交方法 */
-  httpMethods?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 接口Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface ApiGetPageDto {
-  /** 接口名称 */
-  label?: string | null
-}
-
-export interface ApiListOutput {
-  /**
-   * 接口Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 接口父级
-   * @format int64
-   */
-  parentId?: number | null
-  /** 接口命名 */
-  name?: string | null
-  /** 接口名称 */
-  label?: string | null
-  /** 接口地址 */
-  path?: string | null
-  /** 接口提交方法 */
-  httpMethods?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-}
-
-/** 接口同步Dto */
-export interface ApiSyncDto {
-  /** 接口名称 */
-  label?: string | null
-  /** 接口地址 */
-  path?: string | null
-  /** 父级路径 */
-  parentPath?: string | null
-  /** 接口提交方法 */
-  httpMethods?: string | null
-}
-
-/** 接口同步 */
-export interface ApiSyncInput {
-  apis?: ApiSyncDto[] | null
-}
-
-/** 修改 */
-export interface ApiUpdateInput {
-  /**
-   * 所属模块
-   * @format int64
-   */
-  parentId?: number | null
-  /** 接口名称 */
-  label?: string | null
-  /** 接口地址 */
-  path?: string | null
-  /** 接口提交方法 */
-  httpMethods?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 接口Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface AuthGetPasswordEncryptKeyOutput {
-  /** 缓存键 */
-  key?: string | null
-  /** 密码加密密钥 */
-  encyptKey?: string | null
-}
-
-export interface AuthGetUserInfoOutput {
-  /** 用户个人信息 */
-  user?: AuthUserProfileDto
-  /** 用户菜单列表 */
-  menus?: AuthUserMenuDto[] | null
-  /** 用户权限列表 */
-  permissions?: string[] | null
-}
-
-export interface AuthGetUserPermissionsOutput {
-  /** 用户个人信息 */
-  user?: AuthUserProfileDto
-  /** 用户权限列表 */
-  permissions?: string[] | null
-}
-
-/** 登录信息 */
-export interface AuthLoginInput {
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /**
-   * 密码
-   * @minLength 1
-   */
-  password: string
-  /** 密码键 */
-  passwordKey?: string | null
-  /** 验证码Id */
-  captchaId?: string | null
-  /** 验证码数据 */
-  captchaData?: string | null
-}
-
-/** 手机号登录信息 */
-export interface AuthMobileLoginInput {
-  /**
-   * 手机号
-   * @minLength 1
-   */
-  mobile: string
-  /**
-   * 验证码
-   * @minLength 1
-   */
-  code: string
-  /**
-   * 验证码Id
-   * @minLength 1
-   */
-  codeId: string
-}
-
-export interface AuthUserMenuDto {
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 路由地址 */
-  path?: string | null
-  /** 路由命名 */
-  name?: string | null
-  /** 视图地址 */
-  viewPath?: string | null
-  /** 重定向地址 */
-  redirect?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 图标 */
-  icon?: string | null
-  /** 打开 */
-  opened?: boolean | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 打开新窗口 */
-  newWindow?: boolean | null
-  /** 链接外显 */
-  external?: boolean | null
-  /** 是否缓存 */
-  isKeepAlive?: boolean
-  /** 是否固定 */
-  isAffix?: boolean
-  /** 链接地址 */
-  link?: string | null
-  /** 是否内嵌窗口 */
-  isIframe?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number | null
-}
-
-/** 用户个人信息 */
-export interface AuthUserProfileDto {
-  /** 账号 */
-  userName?: string | null
-  /** 姓名 */
-  name?: string | null
-  /** 昵称 */
-  nickName?: string | null
-  /** 头像 */
-  avatar?: string | null
-}
-
-export interface CaptchaData {
-  id?: string | null
-  backgroundImage?: string | null
-  sliderImage?: string | null
-}
-
-/**
- * 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5
- * @format int32
- */
-export type DataScope = 1 | 2 | 3 | 4 | 5
-
-/**
- * MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25
- * @format int32
- */
-export type DataType = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25
-
-/** 添加字典 */
-export interface DictAddInput {
-  /**
-   * 字典类型Id
-   * @format int64
-   */
-  dictTypeId?: number
-  /**
-   * 字典名称
-   * @minLength 1
-   */
-  name: string
-  /** 字典编码 */
-  code?: string | null
-  /** 字典值 */
-  value?: string | null
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-}
-
-export interface DictGetListDto {
-  /** 字典类型编码 */
-  dictTypeCode?: string | null
-  /** 字典类型名称 */
-  dictTypeName?: string | null
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /** 字典名称 */
-  name?: string | null
-  /** 字典编码 */
-  code?: string | null
-  /** 字典值 */
-  value?: string | null
-}
-
-export interface DictGetOutput {
-  /**
-   * 字典类型Id
-   * @format int64
-   */
-  dictTypeId?: number
-  /**
-   * 字典名称
-   * @minLength 1
-   */
-  name: string
-  /** 字典编码 */
-  code?: string | null
-  /** 字典值 */
-  value?: string | null
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface DictGetPageDto {
-  /**
-   * 字典类型Id
-   * @format int64
-   */
-  dictTypeId?: number
-  /** 字典名称 */
-  name?: string | null
-}
-
-export interface DictGetPageOutput {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /** 字典名称 */
-  name?: string | null
-  /** 字典编码 */
-  code?: string | null
-  /** 字典值 */
-  value?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-}
-
-/** 添加字典类型 */
-export interface DictTypeAddInput {
-  /**
-   * 字典类型名称
-   * @minLength 1
-   */
-  name: string
-  /** 字典类型编码 */
-  code?: string | null
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-}
-
-export interface DictTypeGetOutput {
-  /**
-   * 字典类型名称
-   * @minLength 1
-   */
-  name: string
-  /** 字典类型编码 */
-  code?: string | null
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface DictTypeGetPageDto {
-  /** 字典名称 */
-  name?: string | null
-}
-
-export interface DictTypeGetPageOutput {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /** 字典名称 */
-  name?: string | null
-  /** 字典编码 */
-  code?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-}
-
-/** 修改 */
-export interface DictTypeUpdateInput {
-  /**
-   * 字典类型名称
-   * @minLength 1
-   */
-  name: string
-  /** 字典类型编码 */
-  code?: string | null
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-}
-
-/** 修改 */
-export interface DictUpdateInput {
-  /**
-   * 字典类型Id
-   * @format int64
-   */
-  dictTypeId?: number
-  /**
-   * 字典名称
-   * @minLength 1
-   */
-  name: string
-  /** 字典编码 */
-  code?: string | null
-  /** 字典值 */
-  value?: string | null
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface DocumentAddGroupInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 文档类型:Group=1,Markdown=2 */
-  type?: DocumentType
-  /** 名称 */
-  label?: string | null
-  /** 命名 */
-  name?: string | null
-  /** 打开 */
-  opened?: boolean | null
-}
-
-export interface DocumentAddImageInput {
-  /**
-   * 用户Id
-   * @format int64
-   */
-  documentId?: number
-  /** 请求路径 */
-  url?: string | null
-}
-
-export interface DocumentAddMenuInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 文档类型:Group=1,Markdown=2 */
-  type?: DocumentType
-  /** 命名 */
-  name?: string | null
-  /** 名称 */
-  label?: string | null
-  /** 说明 */
-  description?: string | null
-}
-
-export interface DocumentGetContentOutput {
-  /**
-   * 编号
-   * @format int64
-   */
-  id?: number
-  /** 名称 */
-  label?: string | null
-  /** 内容 */
-  content?: string | null
-}
-
-export interface DocumentGetGroupOutput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 文档类型:Group=1,Markdown=2 */
-  type?: DocumentType
-  /** 名称 */
-  label?: string | null
-  /** 命名 */
-  name?: string | null
-  /** 打开 */
-  opened?: boolean | null
-  /**
-   * 编号
-   * @format int64
-   */
-  id: number
-}
-
-export interface DocumentGetMenuOutput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 文档类型:Group=1,Markdown=2 */
-  type?: DocumentType
-  /** 命名 */
-  name?: string | null
-  /** 名称 */
-  label?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 编号
-   * @format int64
-   */
-  id: number
-}
-
-export interface DocumentListOutput {
-  /**
-   * 编号
-   * @format int64
-   */
-  id?: number
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  label?: string | null
-  /** 文档类型:Group=1,Markdown=2 */
-  type?: DocumentType
-  /** 命名 */
-  name?: string | null
-  /** 描述 */
-  description?: string | null
-  /** 组打开 */
-  opened?: boolean | null
-}
-
-/**
- * 文档类型:Group=1,Markdown=2
- * @format int32
- */
-export type DocumentType = 1 | 2
-
-export interface DocumentUpdateContentInput {
-  /**
-   * 编号
-   * @format int64
-   */
-  id: number
-  /** 名称 */
-  label?: string | null
-  /** 内容 */
-  content?: string | null
-  /** Html */
-  html?: string | null
-}
-
-export interface DocumentUpdateGroupInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 文档类型:Group=1,Markdown=2 */
-  type?: DocumentType
-  /** 名称 */
-  label?: string | null
-  /** 命名 */
-  name?: string | null
-  /** 打开 */
-  opened?: boolean | null
-  /**
-   * 编号
-   * @format int64
-   */
-  id: number
-}
-
-export interface DocumentUpdateMenuInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 文档类型:Group=1,Markdown=2 */
-  type?: DocumentType
-  /** 命名 */
-  name?: string | null
-  /** 名称 */
-  label?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 编号
-   * @format int64
-   */
-  id: number
-}
-
-
-export interface FileGetPageOutput {
-  /**
-   * 文件Id
-   * @format int64
-   */
-  id?: number
-  /** OSS供应商 */
-  providerName?: string | null
-  /** 存储桶名称 */
-  bucketName?: string | null
-  /** 文件目录 */
-  fileDirectory?: string | null
-  /**
-   * 文件Guid
-   * @format uuid
-   */
-  fileGuid?: string
-  /** 文件名 */
-  fileName?: string | null
-  /** 文件扩展名 */
-  extension?: string | null
-  /** 文件大小格式化 */
-  sizeFormat?: string | null
-  /** 链接地址 */
-  linkUrl?: string | null
-  /** 创建者 */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /** 修改者 */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-}
-
-export interface LogGetPageDto {
-  /** 创建者 */
-  createdUserName?: string | null
-}
-
-/** 添加 */
-export interface LoginLogAddInput {
-  /**
-   * 租户Id
-   * @format int64
-   */
-  tenantId?: number | null
-  /** 姓名 */
-  name?: string | null
-  /** IP */
-  ip?: string | null
-  /** 浏览器 */
-  browser?: string | null
-  /** 操作系统 */
-  os?: string | null
-  /** 设备 */
-  device?: string | null
-  /** 浏览器信息 */
-  browserInfo?: string | null
-  /**
-   * 耗时(毫秒)
-   * @format int64
-   */
-  elapsedMilliseconds?: number
-  /** 操作状态 */
-  status?: boolean | null
-  /** 操作消息 */
-  msg?: string | null
-  /** 操作结果 */
-  result?: string | null
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /** 创建者 */
-  createdUserName?: string | null
-}
-
-export interface LoginLogListOutput {
-  /**
-   * 编号
-   * @format int64
-   */
-  id?: number
-  /** 昵称 */
-  nickName?: string | null
-  /** 创建者 */
-  createdUserName?: string | null
-  /** IP */
-  ip?: string | null
-  /** 浏览器 */
-  browser?: string | null
-  /** 操作系统 */
-  os?: string | null
-  /** 设备 */
-  device?: string | null
-  /**
-   * 耗时(毫秒)
-   * @format int64
-   */
-  elapsedMilliseconds?: number
-  /** 操作状态 */
-  status?: boolean
-  /** 操作消息 */
-  msg?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-}
-
-
-
-/** 添加 */
-export interface OprationLogAddInput {
-  /** 姓名 */
-  name?: string | null
-  /** 接口名称 */
-  apiLabel?: string | null
-  /** 接口地址 */
-  apiPath?: string | null
-  /** 接口提交方法 */
-  apiMethod?: string | null
-  /** IP */
-  ip?: string | null
-  /** 浏览器 */
-  browser?: string | null
-  /** 操作系统 */
-  os?: string | null
-  /** 设备 */
-  device?: string | null
-  /** 浏览器信息 */
-  browserInfo?: string | null
-  /**
-   * 耗时(毫秒)
-   * @format int64
-   */
-  elapsedMilliseconds?: number
-  /** 操作状态 */
-  status?: boolean | null
-  /** 操作消息 */
-  msg?: string | null
-  /** 操作参数 */
-  params?: string | null
-  /** 操作结果 */
-  result?: string | null
-}
-
-export interface OprationLogListOutput {
-  /**
-   * 编号
-   * @format int64
-   */
-  id?: number
-  /** 昵称 */
-  nickName?: string | null
-  /** 创建者 */
-  createdUserName?: string | null
-  /** 接口名称 */
-  apiLabel?: string | null
-  /** 接口地址 */
-  apiPath?: string | null
-  /** 接口提交方法 */
-  apiMethod?: string | null
-  /** IP */
-  ip?: string | null
-  /** 浏览器 */
-  browser?: string | null
-  /** 操作系统 */
-  os?: string | null
-  /** 设备 */
-  device?: string | null
-  /**
-   * 耗时(毫秒)
-   * @format int64
-   */
-  elapsedMilliseconds?: number
-  /** 操作状态 */
-  status?: boolean
-  /** 操作消息 */
-  msg?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-}
-
-/** 添加 */
-export interface OrgAddInput {
-  /**
-   * 父级
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 值 */
-  value?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 描述 */
-  description?: string | null
-}
-
-/** 组织架构 */
-export interface OrgEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 租户Id
-   * @format int64
-   */
-  tenantId?: number | null
-  /**
-   * 父级
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 值 */
-  value?: string | null
-  /**
-   * 成员数
-   * @format int32
-   */
-  memberCount?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 描述 */
-  description?: string | null
-  /** 员工列表 */
-  staffs?: UserStaffEntity[] | null
-  /** 用户列表 */
-  users?: UserEntity[] | null
-  /** 角色列表 */
-  roles?: RoleEntity[] | null
-  /** 子级列表 */
-  childs?: OrgEntity[] | null
-}
-
-export interface OrgGetOutput {
-  /**
-   * 父级
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 值 */
-  value?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 描述 */
-  description?: string | null
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface OrgListOutput {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 父级
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 值 */
-  value?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 描述 */
-  description?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-}
-
-/** 修改 */
-export interface OrgUpdateInput {
-  /**
-   * 父级
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 值 */
-  value?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 描述 */
-  description?: string | null
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-}
-
-/** 分页信息输入 */
-export interface PageInputApiGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: ApiGetPageDto
-}
-
-/** 分页信息输入 */
-export interface PageInputDictGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: DictGetPageDto
-}
-
-/** 分页信息输入 */
-export interface PageInputDictTypeGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: DictTypeGetPageDto
-}
-
-
-
-/** 分页信息输入 */
-export interface PageInputLogGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: LogGetPageDto
-}
-
-/** 分页信息输入 */
-export interface PageInputPkgGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: PkgGetPageDto
-}
-
-/** 分页信息输入 */
-export interface PageInputPkgGetPkgTenantListInput {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: PkgGetPkgTenantListInput
-}
-
-/** 分页信息输入 */
-export interface PageInputRoleGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: RoleGetPageDto
-}
-
-/** 分页信息输入 */
-export interface PageInputTaskGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: TaskGetPageDto
-}
-
-/** 分页信息输入 */
-export interface PageInputTaskLogGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: TaskLogGetPageDto
-}
-
-/** 分页信息输入 */
-export interface PageInputTenantGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  filter?: TenantGetPageDto
-}
-
-/** 分页信息输入 */
-export interface PageInputUserGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  dynamicFilter?: DynamicFilterInfo
-  /** 用户分页查询条件 */
-  filter?: UserGetPageDto
-}
-
-/** 分页信息输出 */
-export interface PageOutputApiEntity {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: ApiEntity[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputDictGetPageOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: DictGetPageOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputDictTypeGetPageOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: DictTypeGetPageOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputFileGetPageOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: FileGetPageOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputLoginLogListOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: LoginLogListOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputOprationLogListOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: OprationLogListOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputPkgGetPageOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: PkgGetPageOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputPkgGetPkgTenantListOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: PkgGetPkgTenantListOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputRoleGetPageOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: RoleGetPageOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputTaskListOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: TaskListOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputTaskLog {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: TaskLog[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputTenantListOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: TenantListOutput[] | null
-}
-
-/** 分页信息输出 */
-export interface PageOutputUserGetPageOutput {
-  /**
-   * 数据总数
-   * @format int64
-   */
-  total?: number
-  /** 数据 */
-  list?: UserGetPageOutput[] | null
-}
-
-/**
- * 密码加密类型:MD5Encrypt32=0,PasswordHasher=1
- * @format int32
- */
-export type PasswordEncryptType = 0 | 1
-
-export interface PermissionAddApiInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 接口
-   * @format int64
-   */
-  apiId?: number | null
-  /** 权限名称 */
-  label?: string | null
-  /** 权限编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-}
-
-export interface PermissionAddDotInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 关联接口 */
-  apiIds?: number[] | null
-  /** 权限名称 */
-  label?: string | null
-  /** 权限编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 图标 */
-  icon?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-}
-
-export interface PermissionAddGroupInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 视图
-   * @format int64
-   */
-  viewId?: number | null
-  /** 路由命名 */
-  name?: string | null
-  /** 访问路由地址 */
-  path?: string | null
-  /** 重定向地址 */
-  redirect?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /** 展开 */
-  opened?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-}
-
-export interface PermissionAddMenuInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 视图
-   * @format int64
-   */
-  viewId?: number | null
-  /** 路由命名 */
-  name?: string | null
-  /** 路由地址 */
-  path?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /** 打开新窗口 */
-  newWindow?: boolean
-  /** 链接外显 */
-  external?: boolean
-  /** 是否缓存 */
-  isKeepAlive?: boolean
-  /** 是否固定 */
-  isAffix?: boolean
-  /** 链接地址 */
-  link?: string | null
-  /** 是否内嵌窗口 */
-  isIframe?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-}
-
-export interface PermissionAssignInput {
-  /** @format int64 */
-  roleId: number
-  permissionIds: number[]
-}
-
-/** 权限 */
-export interface PermissionEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 权限名称 */
-  label?: string | null
-  /** 权限编码 */
-  code?: string | null
-  /** 权限类型:Group=1,Menu=2,Dot=3 */
-  type?: PermissionType
-  /**
-   * 视图Id
-   * @format int64
-   */
-  viewId?: number | null
-  /** 视图管理 */
-  view?: ViewEntity
-  /** 路由命名 */
-  name?: string | null
-  /** 路由地址 */
-  path?: string | null
-  /** 重定向地址 */
-  redirect?: string | null
-  /** 图标 */
-  icon?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 展开分组 */
-  opened?: boolean
-  /** 打开新窗口 */
-  newWindow?: boolean
-  /** 链接外显 */
-  external?: boolean
-  /** 是否缓存 */
-  isKeepAlive?: boolean
-  /** 是否固定 */
-  isAffix?: boolean
-  /** 链接地址 */
-  link?: string | null
-  /** 是否内嵌窗口 */
-  isIframe?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  apis?: ApiEntity[] | null
-  childs?: PermissionEntity[] | null
-}
-
-export interface PermissionGetApiOutput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 接口
-   * @format int64
-   */
-  apiId?: number | null
-  /** 权限名称 */
-  label?: string | null
-  /** 权限编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface PermissionGetDotOutput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 关联接口 */
-  apiIds?: number[] | null
-  /** 权限名称 */
-  label?: string | null
-  /** 权限编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 图标 */
-  icon?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface PermissionGetGroupOutput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 视图
-   * @format int64
-   */
-  viewId?: number | null
-  /** 路由命名 */
-  name?: string | null
-  /** 访问路由地址 */
-  path?: string | null
-  /** 重定向地址 */
-  redirect?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /** 展开 */
-  opened?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface PermissionGetMenuOutput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 视图
-   * @format int64
-   */
-  viewId?: number | null
-  /** 路由命名 */
-  name?: string | null
-  /** 路由地址 */
-  path?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /** 打开新窗口 */
-  newWindow?: boolean
-  /** 链接外显 */
-  external?: boolean
-  /** 是否缓存 */
-  isKeepAlive?: boolean
-  /** 是否固定 */
-  isAffix?: boolean
-  /** 链接地址 */
-  link?: string | null
-  /** 是否内嵌窗口 */
-  isIframe?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface PermissionListOutput {
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 权限名称 */
-  label?: string | null
-  /** 权限类型:Group=1,Menu=2,Dot=3 */
-  type?: PermissionType
-  /** 路由地址 */
-  path?: string | null
-  /** 重定向地址 */
-  redirect?: string | null
-  /** 视图地址 */
-  viewPath?: string | null
-  /** 链接地址 */
-  link?: string | null
-  /** 接口路径 */
-  apiPaths?: string | null
-  /** 图标 */
-  icon?: string | null
-  /** 展开 */
-  opened?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number | null
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-}
-
-export interface PermissionSaveTenantPermissionsInput {
-  /** @format int64 */
-  tenantId: number
-  permissionIds: number[]
-}
-
-/**
- * 权限类型:Group=1,Menu=2,Dot=3
- * @format int32
- */
-export type PermissionType = 1 | 2 | 3
-
-export interface PermissionUpdateApiInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 接口
-   * @format int64
-   */
-  apiId?: number | null
-  /** 权限名称 */
-  label?: string | null
-  /** 权限编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface PermissionUpdateDotInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /** 关联接口 */
-  apiIds?: number[] | null
-  /** 权限名称 */
-  label?: string | null
-  /** 权限编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 图标 */
-  icon?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface PermissionUpdateGroupInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 视图
-   * @format int64
-   */
-  viewId?: number | null
-  /** 路由命名 */
-  name?: string | null
-  /** 访问路由地址 */
-  path?: string | null
-  /** 重定向地址 */
-  redirect?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /** 展开 */
-  opened?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface PermissionUpdateMenuInput {
-  /**
-   * 父级节点
-   * @format int64
-   */
-  parentId?: number
-  /**
-   * 视图
-   * @format int64
-   */
-  viewId?: number | null
-  /** 路由命名 */
-  name?: string | null
-  /** 路由地址 */
-  path?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /** 图标 */
-  icon?: string | null
-  /** 打开新窗口 */
-  newWindow?: boolean
-  /** 链接外显 */
-  external?: boolean
-  /** 是否缓存 */
-  isKeepAlive?: boolean
-  /** 是否固定 */
-  isAffix?: boolean
-  /** 链接地址 */
-  link?: string | null
-  /** 是否内嵌窗口 */
-  isIframe?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 权限Id
-   * @format int64
-   */
-  id: number
-}
-
-/** 添加 */
-export interface PkgAddInput {
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-}
-
-/** 添加套餐租户列表 */
-export interface PkgAddPkgTenantListInput {
-  /**
-   * 套餐
-   * @format int64
-   */
-  pkgId: number
-  /** 租户列表 */
-  tenantIds?: number[] | null
-}
-
-/** 套餐 */
-export interface PkgEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 子级列表 */
-  childs?: PkgEntity[] | null
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 租户列表 */
-  tenants?: TenantEntity[] | null
-  /** 权限列表 */
-  permissions?: PermissionEntity[] | null
-}
-
-export interface PkgGetListOutput {
-  /**
-   * 主键
-   * @format int64
-   */
-  id?: number
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 描述 */
-  description?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-}
-
-export interface PkgGetOutput {
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 套餐Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface PkgGetPageDto {
-  /** 名称 */
-  name?: string | null
-}
-
-export interface PkgGetPageOutput {
-  /**
-   * 主键
-   * @format int64
-   */
-  id?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-}
-
-export interface PkgGetPkgTenantListInput {
-  /** 租户名 */
-  tenantName?: string | null
-  /**
-   * 套餐Id
-   * @format int64
-   */
-  pkgId?: number | null
-}
-
-export interface PkgGetPkgTenantListOutput {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /** 租户名 */
-  name?: string | null
-  /** 租户编码 */
-  code?: string | null
-}
-
-export interface PkgSetPkgPermissionsInput {
-  /** @format int64 */
-  pkgId: number
-  permissionIds: number[]
-}
-
-/** 修改 */
-export interface PkgUpdateInput {
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 套餐Id
-   * @format int64
-   */
-  id: number
-}
-
-/** 结果输出 */
-export interface ResultOutputApiGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: ApiGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputAuthGetPasswordEncryptKeyOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: AuthGetPasswordEncryptKeyOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputAuthGetUserInfoOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: AuthGetUserInfoOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputAuthGetUserPermissionsOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: AuthGetUserPermissionsOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputAuthUserProfileDto {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 用户个人信息 */
-  data?: AuthUserProfileDto
-}
-
-/** 结果输出 */
-export interface ResultOutputBoolean {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: boolean
-}
-
-/** 结果输出 */
-export interface ResultOutputCaptchaData {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: CaptchaData
-}
-
-/** 结果输出 */
-export interface ResultOutputDictGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: DictGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputDictTypeGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: DictTypeGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputDictionaryStringListDictGetListDto {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: Record<string, DictGetListDto[] | null>
-}
-
-/** 结果输出 */
-export interface ResultOutputDocumentGetContentOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: DocumentGetContentOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputDocumentGetGroupOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: DocumentGetGroupOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputDocumentGetMenuOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: DocumentGetMenuOutput
-}
-
-
-
-/** 结果输出 */
-export interface ResultOutputIEnumerableObject {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: any[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputIListUserPermissionsOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: UserPermissionsOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputInt64 {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /**
-   * 数据
-   * @format int64
-   */
-  data?: number
-}
-
-/** 结果输出 */
-export interface ResultOutputListApiListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: ApiListOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListAuthUserMenuDto {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: AuthUserMenuDto[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListDocumentListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: DocumentListOutput[] | null
-}
-
-
-
-/** 结果输出 */
-export interface ResultOutputListInt64 {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: number[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListObject {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: any[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListOrgListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: OrgListOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListPermissionListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: PermissionListOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListPkgGetListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: PkgGetListOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListPkgGetPkgTenantListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: PkgGetPkgTenantListOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListRoleGetListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: RoleGetListOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListRoleGetRoleUserListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: RoleGetRoleUserListOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListString {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: string[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputListViewListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: ViewListOutput[] | null
-}
-
-/** 结果输出 */
-export interface ResultOutputObject {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: any
-}
-
-/** 结果输出 */
-export interface ResultOutputOrgGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: OrgGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputApiEntity {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputApiEntity
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputDictGetPageOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputDictGetPageOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputDictTypeGetPageOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputDictTypeGetPageOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputFileGetPageOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputFileGetPageOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputLoginLogListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputLoginLogListOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputOprationLogListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputOprationLogListOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputPkgGetPageOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputPkgGetPageOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputPkgGetPkgTenantListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputPkgGetPkgTenantListOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputRoleGetPageOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputRoleGetPageOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputTaskListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputTaskListOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputTaskLog {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputTaskLog
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputTenantListOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputTenantListOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPageOutputUserGetPageOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 分页信息输出 */
-  data?: PageOutputUserGetPageOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPermissionGetApiOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: PermissionGetApiOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPermissionGetDotOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: PermissionGetDotOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPermissionGetGroupOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: PermissionGetGroupOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPermissionGetMenuOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: PermissionGetMenuOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputPkgGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: PkgGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputRoleGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: RoleGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputString {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: string | null
-}
-
-/** 结果输出 */
-export interface ResultOutputTaskGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: TaskGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputTenantGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: TenantGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputUserGetBasicOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: UserGetBasicOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputUserGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: UserGetOutput
-}
-
-/** 结果输出 */
-export interface ResultOutputValidateResult {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: ValidateResult
-}
-
-/** 结果输出 */
-export interface ResultOutputViewGetOutput {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  data?: ViewGetOutput
-}
-
-/** 添加 */
-export interface RoleAddInput {
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 角色类型:Group=1,Role=2 */
-  type?: RoleType
-  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
-  dataScope?: DataScope
-  /** 指定部门 */
-  orgIds?: number[] | null
-  /** 部门列表 */
-  orgs?: OrgEntity[] | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-}
-
-/** 添加角色用户列表 */
-export interface RoleAddRoleUserListInput {
-  /**
-   * 角色
-   * @format int64
-   */
-  roleId: number
-  /** 用户 */
-  userIds?: number[] | null
-}
-
-/** 角色 */
-export interface RoleEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 租户Id
-   * @format int64
-   */
-  tenantId?: number | null
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 子级列表 */
-  childs?: RoleEntity[] | null
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 角色类型:Group=1,Role=2 */
-  type?: RoleType
-  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
-  dataScope?: DataScope
-  /** 说明 */
-  description?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 用户列表 */
-  users?: UserEntity[] | null
-  /** 部门列表 */
-  orgs?: OrgEntity[] | null
-  /** 权限列表 */
-  permissions?: PermissionEntity[] | null
-}
-
-export interface RoleGetListOutput {
-  /**
-   * 主键
-   * @format int64
-   */
-  id?: number
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 角色类型:Group=1,Role=2 */
-  type?: RoleType
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 描述 */
-  description?: string | null
-}
-
-export interface RoleGetOutput {
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 角色类型:Group=1,Role=2 */
-  type?: RoleType
-  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
-  dataScope?: DataScope
-  /** 指定部门 */
-  orgIds?: number[] | null
-  /** 部门列表 */
-  orgs?: OrgEntity[] | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /**
-   * 角色Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface RoleGetPageDto {
-  /** 名称 */
-  name?: string | null
-}
-
-export interface RoleGetPageOutput {
-  /**
-   * 主键
-   * @format int64
-   */
-  id?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 隐藏 */
-  hidden?: boolean
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-}
-
-export interface RoleGetRoleUserListOutput {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /** 姓名 */
-  name?: string | null
-  /** 手机号 */
-  mobile?: string | null
-}
-
-/** 设置数据范围 */
-export interface RoleSetDataScopeInput {
-  /**
-   * 角色Id
-   * @format int64
-   */
-  roleId: number
-  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
-  dataScope?: DataScope
-  /** 指定部门 */
-  orgIds?: number[] | null
-}
-
-/**
- * 角色类型:Group=1,Role=2
- * @format int32
- */
-export type RoleType = 1 | 2
-
-/** 修改 */
-export interface RoleUpdateInput {
-  /**
-   * 父级Id
-   * @format int64
-   */
-  parentId?: number
-  /** 名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 角色类型:Group=1,Role=2 */
-  type?: RoleType
-  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
-  dataScope?: DataScope
-  /** 指定部门 */
-  orgIds?: number[] | null
-  /** 部门列表 */
-  orgs?: OrgEntity[] | null
-  /** 说明 */
-  description?: string | null
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /**
-   * 角色Id
-   * @format int64
-   */
-  id: number
-}
-
-/** 发送短信验证码 */
-export interface SendSmsCodeInput {
-  /**
-   * 手机号
-   * @minLength 1
-   */
-  mobile: string
-  /** 验证码Id */
-  codeId?: string | null
-  /**
-   * 验证码Id
-   * @minLength 1
-   */
-  captchaId: string
-  track: SlideTrack
-}
-
-/**
- * 性别:Unknown(未知)=0,Male(男)=1,Female(女)=2
- * @format int32
- */
-export type Sex = 0 | 1 | 2
-
-export interface SlideTrack {
-  /** @format int32 */
-  backgroundImageWidth?: number
-  /** @format int32 */
-  backgroundImageHeight?: number
-  /** @format int32 */
-  sliderImageWidth?: number
-  /** @format int32 */
-  sliderImageHeight?: number
-  /** @format date-time */
-  startTime?: string
-  /** @format date-time */
-  endTime?: string
-  tracks?: Track[] | null
-  /** @format float */
-  percent?: number
-}
-
-/** 员工添加 */
-export interface StaffAddInput {
-  /** 工号 */
-  jobNumber?: string | null
-  /** 职位 */
-  position?: string | null
-  /** 性别:Unknown(未知)=0,Male(男)=1,Female(女)=2 */
-  sex?: Sex
-  /**
-   * 入职时间
-   * @format date-time
-   */
-  entryTime?: string | null
-  /** 企业微信名片 */
-  workWeChatCard?: string | null
-  /** 个人简介 */
-  introduce?: string | null
-}
-
-/** 添加 */
-export interface TaskAddInput {
-  /** 任务标题 */
-  topic?: string | null
-  /** 任务数据 */
-  body?: string | null
-  /**
-   * 任务执行多少轮,-1为永久循环
-   * @format int32
-   */
-  round?: number
-  /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
-  interval?: TaskInterval
-  /** 定时参数值 60,60,60,120,120,1200,1200 */
-  intervalArgument?: string | null
-}
-
-export interface TaskGetOutput {
-  /** 任务标题 */
-  topic?: string | null
-  /** 任务数据 */
-  body?: string | null
-  /**
-   * 任务执行多少轮,-1为永久循环
-   * @format int32
-   */
-  round?: number
-  /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
-  interval?: TaskInterval
-  /** 定时参数值 60,60,60,120,120,1200,1200 */
-  intervalArgument?: string | null
-  /**
-   * 任务Id
-   * @minLength 1
-   */
-  id: string
-}
-
-export interface TaskGetPageDto {
-  /** 任务名称名称 */
-  topic?: string | null
-}
-
-/**
- * SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21
- * @format int32
- */
-export type TaskInterval = 1 | 11 | 12 | 13 | 21
-
-export interface TaskListOutput {
-  /** 主键 */
-  id?: string | null
-  /** 任务标题 */
-  topic?: string | null
-  /** 任务数据 */
-  body?: string | null
-  /**
-   * 任务执行多少轮
-   * @format int32
-   */
-  round?: number
-  /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
-  interval?: TaskInterval
-  /** 定时参数值 */
-  intervalArgument?: string | null
-  /** Running=0,Paused=1,Completed=2 */
-  status?: TaskStatus
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createTime?: string
-  /**
-   * 最后运行时间
-   * @format date-time
-   */
-  lastRunTime?: string
-  /**
-   * 当前运行到第几轮
-   * @format int32
-   */
-  currentRound?: number
-  /**
-   * 错次数
-   * @format int32
-   */
-  errorTimes?: number
-}
-
-export interface TaskLog {
-  taskId?: string | null
-  /** @format int32 */
-  round?: number
-  /** @format int64 */
-  elapsedMilliseconds?: number
-  success?: boolean
-  exception?: string | null
-  remark?: string | null
-  /** @format date-time */
-  createTime?: string
-}
-
-export interface TaskLogGetPageDto {
-  taskId?: string | null
-}
-
-/**
- * Running=0,Paused=1,Completed=2
- * @format int32
- */
-export type TaskStatus = 0 | 1 | 2
-
-/** 修改 */
-export interface TaskUpdateInput {
-  /** 任务标题 */
-  topic?: string | null
-  /** 任务数据 */
-  body?: string | null
-  /**
-   * 任务执行多少轮,-1为永久循环
-   * @format int32
-   */
-  round?: number
-  /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
-  interval?: TaskInterval
-  /** 定时参数值 60,60,60,120,120,1200,1200 */
-  intervalArgument?: string | null
-  /**
-   * 任务Id
-   * @minLength 1
-   */
-  id: string
-}
-
-/** 添加 */
-export interface TenantAddInput {
-  /**
-   * 租户Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 企业名称
-   * @minLength 1
-   */
-  name: string
-  /**
-   * 编码
-   * @minLength 1
-   */
-  code: string
-  /** 套餐Ids */
-  pkgIds?: number[] | null
-  /**
-   * 姓名
-   * @minLength 1
-   */
-  realName: string
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /** 密码 */
-  password?: string | null
-  /** 手机号码 */
-  phone?: string | null
-  /** 邮箱地址 */
-  email?: string | null
-  /** 数据库注册键 */
-  dbKey?: string | null
-  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
-  dbType?: DataType
-  /** 连接字符串 */
-  connectionString?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /** 说明 */
-  description?: string | null
-}
-
-/** 租户 */
-export interface TenantEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 授权用户
-   * @format int64
-   */
-  userId?: number
-  /** 用户 */
-  user?: UserEntity
-  /**
-   * 授权部门
-   * @format int64
-   */
-  orgId?: number
-  /** 组织架构 */
-  org?: OrgEntity
-  /** 租户类型:Platform=1,Tenant=2 */
-  tenantType?: TenantType
-  /** 数据库注册键 */
-  dbKey?: string | null
-  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
-  dbType?: DataType
-  /** 连接字符串 */
-  connectionString?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /** 说明 */
-  description?: string | null
-  /** 套餐列表 */
-  pkgs?: PkgEntity[] | null
-}
-
-export interface TenantGetOutput {
-  /**
-   * 企业名称
-   * @minLength 1
-   */
-  name: string
-  /**
-   * 编码
-   * @minLength 1
-   */
-  code: string
-  /**
-   * 姓名
-   * @minLength 1
-   */
-  realName: string
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /** 密码 */
-  password?: string | null
-  /** 手机号码 */
-  phone?: string | null
-  /** 邮箱地址 */
-  email?: string | null
-  /** 数据库注册键 */
-  dbKey?: string | null
-  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
-  dbType?: DataType
-  /** 连接字符串 */
-  connectionString?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /** 说明 */
-  description?: string | null
-  /**
-   * 租户Id
-   * @format int64
-   */
-  id: number
-  /** 套餐列表 */
-  pkgs?: PkgEntity[] | null
-  /** 套餐Ids */
-  pkgIds?: number[] | null
-}
-
-export interface TenantGetPageDto {
-  /** 企业名称 */
-  name?: string | null
-}
-
-export interface TenantListOutput {
-  /**
-   * 主键
-   * @format int64
-   */
-  id?: number
-  /** 企业名称 */
-  name?: string | null
-  /** 企业编码 */
-  code?: string | null
-  pkgs?: PkgEntity[] | null
-  /** 套餐 */
-  pkgNames?: string[] | null
-  /** 姓名 */
-  realName?: string | null
-  /** 账号 */
-  userName?: string | null
-  /** 手机号码 */
-  phone?: string | null
-  /** 邮箱地址 */
-  email?: string | null
-  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
-  dbType?: DataType
-  /** 数据库名称 */
-  dbTypeName?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /** 说明 */
-  description?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-}
-
-/** 设置启用 */
-export interface TenantSetEnableInput {
-  /**
-   * 租户Id
-   * @format int64
-   */
-  tenantId?: number
-  /** 是否启用 */
-  enabled?: boolean
-}
-
-/**
- * 租户类型:Platform=1,Tenant=2
- * @format int32
- */
-export type TenantType = 1 | 2
-
-/** 修改 */
-export interface TenantUpdateInput {
-  /**
-   * 企业名称
-   * @minLength 1
-   */
-  name: string
-  /**
-   * 编码
-   * @minLength 1
-   */
-  code: string
-  /** 套餐Ids */
-  pkgIds?: number[] | null
-  /**
-   * 姓名
-   * @minLength 1
-   */
-  realName: string
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /** 密码 */
-  password?: string | null
-  /** 手机号码 */
-  phone?: string | null
-  /** 邮箱地址 */
-  email?: string | null
-  /** 数据库注册键 */
-  dbKey?: string | null
-  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
-  dbType?: DataType
-  /** 连接字符串 */
-  connectionString?: string | null
-  /** 启用 */
-  enabled?: boolean
-  /** 说明 */
-  description?: string | null
-  /**
-   * 租户Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface Track {
-  /** @format int32 */
-  x?: number
-  /** @format int32 */
-  y?: number
-  /** @format int32 */
-  t?: number
-}
-
-/** 添加 */
-export interface UserAddInput {
-  /**
-   * 用户Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /**
-   * 姓名
-   * @minLength 1
-   */
-  name: string
-  /** 手机号 */
-  mobile?: string | null
-  /** 邮箱 */
-  email?: string | null
-  /** 角色Ids */
-  roleIds?: number[] | null
-  /** 所属部门Ids */
-  orgIds?: number[] | null
-  /**
-   * 主属部门Id
-   * @format int64
-   */
-  orgId?: number
-  /**
-   * 直属主管Id
-   * @format int64
-   */
-  managerUserId?: number | null
-  /** 直属主管姓名 */
-  managerUserName?: string | null
-  /** 员工添加 */
-  staff?: StaffAddInput
-  /** 密码 */
-  password?: string | null
-  /** 启用 */
-  enabled?: boolean
-}
-
-/** 添加会员 */
-export interface UserAddMemberInput {
-  /**
-   * 会员Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /** 姓名 */
-  name?: string | null
-  /** 手机号 */
-  mobile?: string | null
-  /** 邮箱 */
-  email?: string | null
-  /**
-   * 密码
-   * @minLength 1
-   */
-  password: string
-  /** 用户状态:WaitChangePasssword=2,WaitActive=3 */
-  status?: UserStatus
-}
-
-/** 修改密码 */
-export interface UserChangePasswordInput {
-  /**
-   * 旧密码
-   * @minLength 1
-   */
-  oldPassword: string
-  /**
-   * 新密码
-   * @minLength 1
-   */
-  newPassword: string
-  /**
-   * 确认新密码
-   * @minLength 1
-   */
-  confirmPassword: string
-}
-
-/** 用户 */
-export interface UserEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 租户Id
-   * @format int64
-   */
-  tenantId?: number | null
-  /** 租户 */
-  tenant?: TenantEntity
-  /** 账号 */
-  userName?: string | null
-  /** 密码 */
-  password?: string | null
-  /** 密码加密类型:MD5Encrypt32=0,PasswordHasher=1 */
-  passwordEncryptType?: PasswordEncryptType
-  /** 姓名 */
-  name?: string | null
-  /** 手机号 */
-  mobile?: string | null
-  /** 邮箱 */
-  email?: string | null
-  /**
-   * 主属部门Id
-   * @format int64
-   */
-  orgId?: number
-  /** 组织架构 */
-  org?: OrgEntity
-  /**
-   * 直属主管Id
-   * @format int64
-   */
-  managerUserId?: number | null
-  /** 用户 */
-  managerUser?: UserEntity
-  /** 昵称 */
-  nickName?: string | null
-  /** 头像 */
-  avatar?: string | null
-  /** 用户状态:WaitChangePasssword=2,WaitActive=3 */
-  status?: UserStatus
-  /** 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100 */
-  type?: UserType
-  /** 启用 */
-  enabled?: boolean
-  /** 角色列表 */
-  roles?: RoleEntity[] | null
-  /** 部门列表 */
-  orgs?: OrgEntity[] | null
-  /** 用户员工 */
-  staff?: UserStaffEntity
-}
-
-export interface UserGetBasicOutput {
-  /** 头像 */
-  avatar?: string | null
-  /** 姓名 */
-  name?: string | null
-  /** 昵称 */
-  nickName?: string | null
-  /** 手机号 */
-  mobile?: string | null
-  /** 邮箱 */
-  email?: string | null
-}
-
-export interface UserGetOrgDto {
-  /** @format int64 */
-  id?: number
-  name?: string | null
-}
-
-export interface UserGetOutput {
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /**
-   * 姓名
-   * @minLength 1
-   */
-  name: string
-  /** 手机号 */
-  mobile?: string | null
-  /** 邮箱 */
-  email?: string | null
-  /**
-   * 主属部门Id
-   * @format int64
-   */
-  orgId?: number
-  /**
-   * 直属主管Id
-   * @format int64
-   */
-  managerUserId?: number | null
-  /** 直属主管姓名 */
-  managerUserName?: string | null
-  /** 员工添加 */
-  staff?: StaffAddInput
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-  /** 角色列表 */
-  roles?: UserGetRoleDto[] | null
-  /** 部门列表 */
-  orgs?: UserGetOrgDto[] | null
-  /** 所属部门Ids */
-  orgIds?: number[] | null
-  /** 角色Ids */
-  roleIds?: number[] | null
-}
-
-/** 用户分页查询条件 */
-export interface UserGetPageDto {
-  /**
-   * 部门Id
-   * @format int64
-   */
-  orgId?: number | null
-}
-
-export interface UserGetPageOutput {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /** 账号 */
-  userName?: string | null
-  /** 姓名 */
-  name?: string | null
-  /** 手机号 */
-  mobile?: string | null
-  /** 邮箱 */
-  email?: string | null
-  /** 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100 */
-  type?: UserType
-  roles?: RoleEntity[] | null
-  /** 角色 */
-  roleNames?: string[] | null
-  /** 是否主管 */
-  isManager?: boolean
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-}
-
-export interface UserGetRoleDto {
-  /** @format int64 */
-  id?: number
-  name?: string | null
-}
-
-export interface UserPermissionsOutput {
-  httpMethods?: string | null
-  path?: string | null
-}
-
-/** 重置密码 */
-export interface UserResetPasswordInput {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /** 密码 */
-  password?: string | null
-}
-
-/** 设置启用 */
-export interface UserSetEnableInput {
-  /**
-   * 用户Id
-   * @format int64
-   */
-  userId?: number
-  /** 是否启用 */
-  enabled?: boolean
-}
-
-/** 设置主管 */
-export interface UserSetManagerInput {
-  /**
-   * 用户Id
-   * @format int64
-   */
-  userId?: number
-  /**
-   * 部门Id
-   * @format int64
-   */
-  orgId?: number
-  /** 是否主管 */
-  isManager?: boolean
-}
-
-/** 用户员工 */
-export interface UserStaffEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 租户Id
-   * @format int64
-   */
-  tenantId?: number | null
-  /** 职位 */
-  position?: string | null
-  /** 工号 */
-  jobNumber?: string | null
-  /** 性别:Unknown(未知)=0,Male(男)=1,Female(女)=2 */
-  sex?: Sex
-  /**
-   * 入职时间
-   * @format date-time
-   */
-  entryTime?: string | null
-  /** 企业微信名片 */
-  workWeChatCard?: string | null
-  /** 个人简介 */
-  introduce?: string | null
-}
-
-/**
- * 用户状态:WaitChangePasssword=2,WaitActive=3
- * @format int32
- */
-export type UserStatus = 2 | 3
-
-/**
- * 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100
- * @format int32
- */
-export type UserType = 0 | 1 | 10 | 100
-
-/** 更新基本信息 */
-export interface UserUpdateBasicInput {
-  /**
-   * 姓名
-   * @minLength 1
-   */
-  name: string
-  /** 昵称 */
-  nickName?: string | null
-}
-
-/** 修改 */
-export interface UserUpdateInput {
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /**
-   * 姓名
-   * @minLength 1
-   */
-  name: string
-  /** 手机号 */
-  mobile?: string | null
-  /** 邮箱 */
-  email?: string | null
-  /** 角色Ids */
-  roleIds?: number[] | null
-  /** 所属部门Ids */
-  orgIds?: number[] | null
-  /**
-   * 主属部门Id
-   * @format int64
-   */
-  orgId?: number
-  /**
-   * 直属主管Id
-   * @format int64
-   */
-  managerUserId?: number | null
-  /** 直属主管姓名 */
-  managerUserName?: string | null
-  /** 员工添加 */
-  staff?: StaffAddInput
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-}
-
-/** 修改会员 */
-export interface UserUpdateMemberInput {
-  /**
-   * 账号
-   * @minLength 1
-   */
-  userName: string
-  /** 姓名 */
-  name?: string | null
-  /** 手机号 */
-  mobile?: string | null
-  /** 邮箱 */
-  email?: string | null
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface ValidateResult {
-  /** Success=0,ValidateFail=1,Timeout=2 */
-  result?: ValidateResultType
-  message?: string | null
-}
-
-/**
- * Success=0,ValidateFail=1,Timeout=2
- * @format int32
- */
-export type ValidateResultType = 0 | 1 | 2
-
-/** 添加 */
-export interface ViewAddInput {
-  /**
-   * 所属节点
-   * @format int64
-   */
-  parentId?: number | null
-  /** 视图命名 */
-  name?: string | null
-  /** 视图名称 */
-  label?: string | null
-  /** 视图路径 */
-  path?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 缓存 */
-  cache?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-}
-
-/** 视图管理 */
-export interface ViewEntity {
-  /**
-   * 主键Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 创建者Id
-   * @format int64
-   */
-  createdUserId?: number | null
-  /**
-   * 创建者
-   * @maxLength 50
-   */
-  createdUserName?: string | null
-  /**
-   * 创建时间
-   * @format date-time
-   */
-  createdTime?: string | null
-  /**
-   * 修改者Id
-   * @format int64
-   */
-  modifiedUserId?: number | null
-  /**
-   * 修改者
-   * @maxLength 50
-   */
-  modifiedUserName?: string | null
-  /**
-   * 修改时间
-   * @format date-time
-   */
-  modifiedTime?: string | null
-  /** 是否删除 */
-  isDeleted?: boolean
-  /**
-   * 所属节点
-   * @format int64
-   */
-  parentId?: number
-  /** 视图命名 */
-  name?: string | null
-  /** 视图名称 */
-  label?: string | null
-  /** 视图路径 */
-  path?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 缓存 */
-  cache?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  childs?: ViewEntity[] | null
-}
-
-export interface ViewGetOutput {
-  /**
-   * 所属节点
-   * @format int64
-   */
-  parentId?: number | null
-  /** 视图命名 */
-  name?: string | null
-  /** 视图名称 */
-  label?: string | null
-  /** 视图路径 */
-  path?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 缓存 */
-  cache?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 视图Id
-   * @format int64
-   */
-  id: number
-}
-
-export interface ViewListOutput {
-  /**
-   * 视图Id
-   * @format int64
-   */
-  id?: number
-  /**
-   * 视图父级
-   * @format int64
-   */
-  parentId?: number | null
-  /** 视图命名 */
-  name?: string | null
-  /** 视图名称 */
-  label?: string | null
-  /** 视图路径 */
-  path?: string | null
-  /** 缓存 */
-  cache?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /** 说明 */
-  description?: string | null
-}
-
-export interface ViewSyncDto {
-  /** 视图命名 */
-  name?: string | null
-  /** 地址 */
-  path?: string | null
-  /** 视图名称 */
-  label?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 缓存 */
-  cache?: boolean
-}
-
-export interface ViewSyncInput {
-  views?: ViewSyncDto[] | null
-}
-
-/** 修改 */
-export interface ViewUpdateInput {
-  /**
-   * 所属节点
-   * @format int64
-   */
-  parentId?: number | null
-  /** 视图命名 */
-  name?: string | null
-  /** 视图名称 */
-  label?: string | null
-  /** 视图路径 */
-  path?: string | null
-  /** 说明 */
-  description?: string | null
-  /** 缓存 */
-  cache?: boolean
-  /**
-   * 排序
-   * @format int32
-   */
-  sort?: number
-  /** 启用 */
-  enabled?: boolean
-  /**
-   * 视图Id
-   * @format int64
-   */
-  id: number
-}
-/** 应用权限-新增分组、菜单、权限点 */
-export interface oauthPermissionDto {
-  id: number
-  /** 上一级分组 */
-  parentId?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 权限类型 */
-  type?: number | null
-  /** 图标 */
-  icon?: string | null
-  /** 排序 */
-  sort?: string|null
-  /** 应用id */
-  appID?: number
-  /** 视图id */
-  viewId?: number|null
-   /** 视图地址 */
-  viewPath?: string|null
-  /** 说明 */
-  // description?: string | null
-}
-/** 应用权限 */
-export interface OauthPermission {
-  /** 主键id */
-  id: number
-  /** 创建者id */
-  createdUserId: number
-  /** 创建者 */
-  createdUserName: string | null
-  /** 创建时间 */
-  createdTime: string | null
-  /** 修改者id */
-  modifiedUserId: number
-  /** 修改者 */
-  modifiedUserName: string | null
-  /** 修改时间 */
-  modifiedTime: string | null
-  /** 是否删除 */
-  isDeleted: boolean
-  /** 版本 */
-  version: number
-  /** 上一级分组 */
-  parentId?: string | null
-  /** 权限名称 */
-  label?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 权限类型 */
-  type?: number | null
-  /** 图标 */
-  icon?: string | null
-  /** 排序 */
-  sort?: string|null
-  /** 应用id */
-  appID?: number
-  /** 视图id */
-  viewId?: string|null
-  /** 视图地址 */
-  viewPath?: string|null
-  /** 展开 */
-  opened?: boolean
-  /** 说明 */
-  // description?: string | null
-}
-/** 应用权限信息输出 */
-export interface ResultOutputListOauthPermission{
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: OauthPermission[] | null
-}
-/** 应用请求参数 */
-export interface OauthApplyDto{
-  id: number
-  /** 应用id */
-  appid?: string
-  /** 应用名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 排序 */
-  sort?: string|null
-}
-/** 应用 */
-export interface OauthApply{
-  /** 主键id */
-  id: number
-  /** 创建者id */
-  createdUserId: number
-  /** 创建者 */
-  createdUserName: string | null
-  /** 创建时间 */
-  createdTime: string | null
-  /** 修改者id */
-  modifiedUserId: number
-  /** 修改者 */
-  modifiedUserName: string | null
-  /** 修改时间 */
-  modifiedTime: string | null
-  /** 是否删除 */
-  isDeleted: boolean
-  /** 版本 */
-  version: number
-  /** 应用id */
-  appid?: string
-  /** 应用名称 */
-  name?: string | null
-  /** 编码 */
-  code?: string | null
-  /** 排序 */
-  sort?: string|null
-}
-/** 应用信息输出 */
-export interface ResultOutputListOauthApply{
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: OauthApply[] | null
-}
-/** 应用视图 */
-export interface OauthView{
-  /** 主键id */
-  id: number
-  /** 创建者id */
-  createdUserId: number
-  /** 创建者 */
-  createdUserName: string | null
-  /** 创建时间 */
-  createdTime: string | null
-  /** 修改者id */
-  modifiedUserId: number
-  /** 修改者 */
-  modifiedUserName: string | null
-  /** 修改时间 */
-  modifiedTime: string | null
-  /** 是否删除 */
-  isDeleted: boolean
-  /** 版本 */
-  version: number
-  /** 上一级分组 */
-  parentId?: string | null
-  /** 视图名称 */
-  label?: string
-  /** 视图地址 */
-  path?: string | null
-  /** 排序 */
-  sort?: string|null
-  /** 应用id */
-  appID?: number
-}
-/** 应用视图信息输出 */
-export interface ResultOutputListOauthView{
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: OauthView[] | null
-}
-/** 视图请求参数 */
-export interface OauthViewDto{
-  id: number
-  /** 上一级分组 */
-  parentId?: string | null
-  /** 视图名称 */
-  label?: string
-  /** 视图地址 */
-  path?: string | null
-  /** 排序 */
-  sort?: string|null
-  /** 应用id */
-  appID?: string
-}
-/** 角色请求参数 */
-export interface OauthRoleDto{
-  id:number,
-  /** 上一级分组 */
-  parentId?: string | null
-  /** 角色名称 */
-  name?: string
-  /** 编码 */
-  code?: string | null
-  /** 类型 */
-  type?:RoleType
-  /** 说明 */
-  description?:string|null
-  /** 排序 */
-  sort?: string|null
-}
-/** 应用角色 */
-export interface OauthRole{
-  /** 主键id */
-  id: number
-  /** 创建者id */
-  createdUserId: number
-  /** 创建者 */
-  createdUserName: string | null
-  /** 创建时间 */
-  createdTime: string | null
-  /** 修改者id */
-  modifiedUserId: number
-  /** 修改者 */
-  modifiedUserName: string | null
-  /** 修改时间 */
-  modifiedTime: string | null
-  /** 是否删除 */
-  isDeleted: boolean
-  /** 版本 */
-  version: number
-  /** 上一级分组 */
-  parentId?: string | null
-  /** 角色名称 */
-  name?: string
-  /** 编码 */
-  code?: string | null
-  /** 类型 */
-  type?:RoleType
-  /** 说明 */
-  description?:string|null
-  /** 排序 */
-  sort?: string|null
-  appid: number
-}
-/** 应用角色信息输出 */
-export interface ResultOutputListOauthRole{
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: OauthRole[] | null
-}
-/** 操作日志信息 */
-export interface OauthOperationRecordGetPageOutPut{
-  /** 操作类型 */
-  operationType?: string |null
-  /** 模块名称 */
-  moduleName?: string | null
-  /** 描述 */
-  operationContent?: string | null
-  /** 操作前 */
-  beforeState?: string | null
-  /** 操作后 */
-  afterState?: string | null
-  /** 操作结果 */
-  result?: string | null
-  /** 操作人 */
-  createdUserName?: string | null
-  /** 操作时间 */
-  createdTime?: string | null
-}
-/** 操作日志输出信息 */
-export interface PageOutputOauthOperationRecordGetPageOutPut{
-  /** 数据总数 */
-  total?: number |null
-  /** 数据 */
-  list?: OauthOperationRecordGetPageOutPut[] | null
-}
-/** 操作日志信息输出 */
-export interface ResultOutputPageOutputOauthOperationRecordGetPageOutPut{
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: PageOutputOauthOperationRecordGetPageOutPut | null
-}
-
-export interface Filter {
-  /** 操作类型 */
-  operationType?: string |null
-  /** 模块名称 */
-  moduleName?: string | null
-  /** 操作人 */
-  createdUserName?: string | null
-  /** 操作时间 */
-  createdTime?: string | null
-}
-
-/** 操作日志分页信息输入 */
-export interface PageInputOperationGetPageDto {
-  /**
-   * 当前页标
-   * @format int32
-   */
-  currentPage?: number
-  /**
-   * 每页大小
-   * @format int32
-   */
-  pageSize?: number
-  filter?: Filter
-}
-/** 角色应用权限菜单输出 */
-export interface ResultOutputList {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: [] | null
-}
-/** 角色应用用户信息 */
-export interface UserDto {
-  /** 用户id */
-  id?: number | null
-  /** 用户名 */
-  name?: string | null
-  /** 手机号 */
-  mobile?: string | null
-}
-/** 角色应用用户信息输出 */
-export interface ResultOutputListUserDto {
-  /** 是否成功标记 */
-  success?: boolean
-  /** 编码 */
-  code?: string | null
-  /** 消息 */
-  msg?: string | null
-  /** 数据 */
-  data?: UserDto[] | null
-}
-
-
-
-
-
-
+/* eslint-disable */
+/* tslint:disable */
+/*
+ * ---------------------------------------------------------------
+ * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API        ##
+ * ##                                                           ##
+ * ## AUTHOR: acacode                                           ##
+ * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
+ * ---------------------------------------------------------------
+ */
+
+/** 添加 */
+export interface ApiAddInput {
+  /**
+   * 所属模块
+   * @format int64
+   */
+  parentId?: number | null
+  /** 接口名称 */
+  label?: string | null
+  /** 接口地址 */
+  path?: string | null
+  /** 接口提交方法 */
+  httpMethods?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+}
+
+/** 接口管理 */
+export interface ApiEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 所属模块
+   * @format int64
+   */
+  parentId?: number
+  /** 接口命名 */
+  name?: string | null
+  /** 接口名称 */
+  label?: string | null
+  /** 接口地址 */
+  path?: string | null
+  /** 接口提交方法 */
+  httpMethods?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  childs?: ApiEntity[] | null
+  permissions?: PermissionEntity[] | null
+}
+
+export interface ApiGetOutput {
+  /**
+   * 所属模块
+   * @format int64
+   */
+  parentId?: number | null
+  /** 接口名称 */
+  label?: string | null
+  /** 接口地址 */
+  path?: string | null
+  /** 接口提交方法 */
+  httpMethods?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 接口Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface ApiGetPageDto {
+  /** 接口名称 */
+  label?: string | null
+}
+
+export interface ApiListOutput {
+  /**
+   * 接口Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 接口父级
+   * @format int64
+   */
+  parentId?: number | null
+  /** 接口命名 */
+  name?: string | null
+  /** 接口名称 */
+  label?: string | null
+  /** 接口地址 */
+  path?: string | null
+  /** 接口提交方法 */
+  httpMethods?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+}
+
+/** 接口同步Dto */
+export interface ApiSyncDto {
+  /** 接口名称 */
+  label?: string | null
+  /** 接口地址 */
+  path?: string | null
+  /** 父级路径 */
+  parentPath?: string | null
+  /** 接口提交方法 */
+  httpMethods?: string | null
+}
+
+/** 接口同步 */
+export interface ApiSyncInput {
+  apis?: ApiSyncDto[] | null
+}
+
+/** 修改 */
+export interface ApiUpdateInput {
+  /**
+   * 所属模块
+   * @format int64
+   */
+  parentId?: number | null
+  /** 接口名称 */
+  label?: string | null
+  /** 接口地址 */
+  path?: string | null
+  /** 接口提交方法 */
+  httpMethods?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 接口Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface AuthGetPasswordEncryptKeyOutput {
+  /** 缓存键 */
+  key?: string | null
+  /** 密码加密密钥 */
+  encyptKey?: string | null
+}
+
+export interface AuthGetUserInfoOutput {
+  /** 用户个人信息 */
+  user?: AuthUserProfileDto
+  /** 用户菜单列表 */
+  menus?: AuthUserMenuDto[] | null
+  /** 用户权限列表 */
+  permissions?: string[] | null
+}
+
+export interface AuthGetUserPermissionsOutput {
+  /** 用户个人信息 */
+  user?: AuthUserProfileDto
+  /** 用户权限列表 */
+  permissions?: string[] | null
+}
+
+/** 登录信息 */
+export interface AuthLoginInput {
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /**
+   * 密码
+   * @minLength 1
+   */
+  password: string
+  /** 密码键 */
+  passwordKey?: string | null
+  /** 验证码Id */
+  captchaId?: string | null
+  /** 验证码数据 */
+  captchaData?: string | null
+}
+
+/** 手机号登录信息 */
+export interface AuthMobileLoginInput {
+  /**
+   * 手机号
+   * @minLength 1
+   */
+  mobile: string
+  /**
+   * 验证码
+   * @minLength 1
+   */
+  code: string
+  /**
+   * 验证码Id
+   * @minLength 1
+   */
+  codeId: string
+}
+
+export interface AuthUserMenuDto {
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 路由地址 */
+  path?: string | null
+  /** 路由命名 */
+  name?: string | null
+  /** 视图地址 */
+  viewPath?: string | null
+  /** 重定向地址 */
+  redirect?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 图标 */
+  icon?: string | null
+  /** 打开 */
+  opened?: boolean | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 打开新窗口 */
+  newWindow?: boolean | null
+  /** 链接外显 */
+  external?: boolean | null
+  /** 是否缓存 */
+  isKeepAlive?: boolean
+  /** 是否固定 */
+  isAffix?: boolean
+  /** 链接地址 */
+  link?: string | null
+  /** 是否内嵌窗口 */
+  isIframe?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number | null
+}
+
+/** 用户个人信息 */
+export interface AuthUserProfileDto {
+  /** 账号 */
+  userName?: string | null
+  /** 姓名 */
+  name?: string | null
+  /** 昵称 */
+  nickName?: string | null
+  /** 头像 */
+  avatar?: string | null
+}
+
+export interface CaptchaData {
+  id?: string | null
+  backgroundImage?: string | null
+  sliderImage?: string | null
+}
+
+/**
+ * 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5
+ * @format int32
+ */
+export type DataScope = 1 | 2 | 3 | 4 | 5
+
+/**
+ * MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25
+ * @format int32
+ */
+export type DataType = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25
+
+/** 添加字典 */
+export interface DictAddInput {
+  /**
+   * 字典类型Id
+   * @format int64
+   */
+  dictTypeId?: number
+  /**
+   * 字典名称
+   * @minLength 1
+   */
+  name: string
+  /** 字典编码 */
+  code?: string | null
+  /** 字典值 */
+  value?: string | null
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+}
+
+export interface DictGetListDto {
+  /** 字典类型编码 */
+  dictTypeCode?: string | null
+  /** 字典类型名称 */
+  dictTypeName?: string | null
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /** 字典名称 */
+  name?: string | null
+  /** 字典编码 */
+  code?: string | null
+  /** 字典值 */
+  value?: string | null
+}
+
+export interface DictGetOutput {
+  /**
+   * 字典类型Id
+   * @format int64
+   */
+  dictTypeId?: number
+  /**
+   * 字典名称
+   * @minLength 1
+   */
+  name: string
+  /** 字典编码 */
+  code?: string | null
+  /** 字典值 */
+  value?: string | null
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface DictGetPageDto {
+  /**
+   * 字典类型Id
+   * @format int64
+   */
+  dictTypeId?: number
+  /** 字典名称 */
+  name?: string | null
+}
+
+export interface DictGetPageOutput {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /** 字典名称 */
+  name?: string | null
+  /** 字典编码 */
+  code?: string | null
+  /** 字典值 */
+  value?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+}
+
+/** 添加字典类型 */
+export interface DictTypeAddInput {
+  /**
+   * 字典类型名称
+   * @minLength 1
+   */
+  name: string
+  /** 字典类型编码 */
+  code?: string | null
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+}
+
+export interface DictTypeGetOutput {
+  /**
+   * 字典类型名称
+   * @minLength 1
+   */
+  name: string
+  /** 字典类型编码 */
+  code?: string | null
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface DictTypeGetPageDto {
+  /** 字典名称 */
+  name?: string | null
+}
+
+export interface DictTypeGetPageOutput {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /** 字典名称 */
+  name?: string | null
+  /** 字典编码 */
+  code?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+}
+
+/** 修改 */
+export interface DictTypeUpdateInput {
+  /**
+   * 字典类型名称
+   * @minLength 1
+   */
+  name: string
+  /** 字典类型编码 */
+  code?: string | null
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+}
+
+/** 修改 */
+export interface DictUpdateInput {
+  /**
+   * 字典类型Id
+   * @format int64
+   */
+  dictTypeId?: number
+  /**
+   * 字典名称
+   * @minLength 1
+   */
+  name: string
+  /** 字典编码 */
+  code?: string | null
+  /** 字典值 */
+  value?: string | null
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface DocumentAddGroupInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 文档类型:Group=1,Markdown=2 */
+  type?: DocumentType
+  /** 名称 */
+  label?: string | null
+  /** 命名 */
+  name?: string | null
+  /** 打开 */
+  opened?: boolean | null
+}
+
+export interface DocumentAddImageInput {
+  /**
+   * 用户Id
+   * @format int64
+   */
+  documentId?: number
+  /** 请求路径 */
+  url?: string | null
+}
+
+export interface DocumentAddMenuInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 文档类型:Group=1,Markdown=2 */
+  type?: DocumentType
+  /** 命名 */
+  name?: string | null
+  /** 名称 */
+  label?: string | null
+  /** 说明 */
+  description?: string | null
+}
+
+export interface DocumentGetContentOutput {
+  /**
+   * 编号
+   * @format int64
+   */
+  id?: number
+  /** 名称 */
+  label?: string | null
+  /** 内容 */
+  content?: string | null
+}
+
+export interface DocumentGetGroupOutput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 文档类型:Group=1,Markdown=2 */
+  type?: DocumentType
+  /** 名称 */
+  label?: string | null
+  /** 命名 */
+  name?: string | null
+  /** 打开 */
+  opened?: boolean | null
+  /**
+   * 编号
+   * @format int64
+   */
+  id: number
+}
+
+export interface DocumentGetMenuOutput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 文档类型:Group=1,Markdown=2 */
+  type?: DocumentType
+  /** 命名 */
+  name?: string | null
+  /** 名称 */
+  label?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 编号
+   * @format int64
+   */
+  id: number
+}
+
+export interface DocumentListOutput {
+  /**
+   * 编号
+   * @format int64
+   */
+  id?: number
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  label?: string | null
+  /** 文档类型:Group=1,Markdown=2 */
+  type?: DocumentType
+  /** 命名 */
+  name?: string | null
+  /** 描述 */
+  description?: string | null
+  /** 组打开 */
+  opened?: boolean | null
+}
+
+/**
+ * 文档类型:Group=1,Markdown=2
+ * @format int32
+ */
+export type DocumentType = 1 | 2
+
+export interface DocumentUpdateContentInput {
+  /**
+   * 编号
+   * @format int64
+   */
+  id: number
+  /** 名称 */
+  label?: string | null
+  /** 内容 */
+  content?: string | null
+  /** Html */
+  html?: string | null
+}
+
+export interface DocumentUpdateGroupInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 文档类型:Group=1,Markdown=2 */
+  type?: DocumentType
+  /** 名称 */
+  label?: string | null
+  /** 命名 */
+  name?: string | null
+  /** 打开 */
+  opened?: boolean | null
+  /**
+   * 编号
+   * @format int64
+   */
+  id: number
+}
+
+export interface DocumentUpdateMenuInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 文档类型:Group=1,Markdown=2 */
+  type?: DocumentType
+  /** 命名 */
+  name?: string | null
+  /** 名称 */
+  label?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 编号
+   * @format int64
+   */
+  id: number
+}
+
+
+export interface FileGetPageOutput {
+  /**
+   * 文件Id
+   * @format int64
+   */
+  id?: number
+  /** OSS供应商 */
+  providerName?: string | null
+  /** 存储桶名称 */
+  bucketName?: string | null
+  /** 文件目录 */
+  fileDirectory?: string | null
+  /**
+   * 文件Guid
+   * @format uuid
+   */
+  fileGuid?: string
+  /** 文件名 */
+  fileName?: string | null
+  /** 文件扩展名 */
+  extension?: string | null
+  /** 文件大小格式化 */
+  sizeFormat?: string | null
+  /** 链接地址 */
+  linkUrl?: string | null
+  /** 创建者 */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /** 修改者 */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+}
+
+export interface LogGetPageDto {
+  /** 创建者 */
+  createdUserName?: string | null
+}
+
+/** 添加 */
+export interface LoginLogAddInput {
+  /**
+   * 租户Id
+   * @format int64
+   */
+  tenantId?: number | null
+  /** 姓名 */
+  name?: string | null
+  /** IP */
+  ip?: string | null
+  /** 浏览器 */
+  browser?: string | null
+  /** 操作系统 */
+  os?: string | null
+  /** 设备 */
+  device?: string | null
+  /** 浏览器信息 */
+  browserInfo?: string | null
+  /**
+   * 耗时(毫秒)
+   * @format int64
+   */
+  elapsedMilliseconds?: number
+  /** 操作状态 */
+  status?: boolean | null
+  /** 操作消息 */
+  msg?: string | null
+  /** 操作结果 */
+  result?: string | null
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /** 创建者 */
+  createdUserName?: string | null
+}
+
+export interface LoginLogListOutput {
+  /**
+   * 编号
+   * @format int64
+   */
+  id?: number
+  /** 昵称 */
+  nickName?: string | null
+  /** 创建者 */
+  createdUserName?: string | null
+  /** IP */
+  ip?: string | null
+  /** 浏览器 */
+  browser?: string | null
+  /** 操作系统 */
+  os?: string | null
+  /** 设备 */
+  device?: string | null
+  /**
+   * 耗时(毫秒)
+   * @format int64
+   */
+  elapsedMilliseconds?: number
+  /** 操作状态 */
+  status?: boolean
+  /** 操作消息 */
+  msg?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+}
+
+
+
+/** 添加 */
+export interface OprationLogAddInput {
+  /** 姓名 */
+  name?: string | null
+  /** 接口名称 */
+  apiLabel?: string | null
+  /** 接口地址 */
+  apiPath?: string | null
+  /** 接口提交方法 */
+  apiMethod?: string | null
+  /** IP */
+  ip?: string | null
+  /** 浏览器 */
+  browser?: string | null
+  /** 操作系统 */
+  os?: string | null
+  /** 设备 */
+  device?: string | null
+  /** 浏览器信息 */
+  browserInfo?: string | null
+  /**
+   * 耗时(毫秒)
+   * @format int64
+   */
+  elapsedMilliseconds?: number
+  /** 操作状态 */
+  status?: boolean | null
+  /** 操作消息 */
+  msg?: string | null
+  /** 操作参数 */
+  params?: string | null
+  /** 操作结果 */
+  result?: string | null
+}
+
+export interface OprationLogListOutput {
+  /**
+   * 编号
+   * @format int64
+   */
+  id?: number
+  /** 昵称 */
+  nickName?: string | null
+  /** 创建者 */
+  createdUserName?: string | null
+  /** 接口名称 */
+  apiLabel?: string | null
+  /** 接口地址 */
+  apiPath?: string | null
+  /** 接口提交方法 */
+  apiMethod?: string | null
+  /** IP */
+  ip?: string | null
+  /** 浏览器 */
+  browser?: string | null
+  /** 操作系统 */
+  os?: string | null
+  /** 设备 */
+  device?: string | null
+  /**
+   * 耗时(毫秒)
+   * @format int64
+   */
+  elapsedMilliseconds?: number
+  /** 操作状态 */
+  status?: boolean
+  /** 操作消息 */
+  msg?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+}
+
+/** 添加 */
+export interface OrgAddInput {
+  /**
+   * 父级
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 值 */
+  value?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 描述 */
+  description?: string | null
+}
+
+/** 组织架构 */
+export interface OrgEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 租户Id
+   * @format int64
+   */
+  tenantId?: number | null
+  /**
+   * 父级
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 值 */
+  value?: string | null
+  /**
+   * 成员数
+   * @format int32
+   */
+  memberCount?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 描述 */
+  description?: string | null
+  /** 员工列表 */
+  staffs?: UserStaffEntity[] | null
+  /** 用户列表 */
+  users?: UserEntity[] | null
+  /** 角色列表 */
+  roles?: RoleEntity[] | null
+  /** 子级列表 */
+  childs?: OrgEntity[] | null
+}
+
+export interface OrgGetOutput {
+  /**
+   * 父级
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 值 */
+  value?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 描述 */
+  description?: string | null
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface OrgListOutput {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 父级
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 值 */
+  value?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 描述 */
+  description?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+}
+
+/** 修改 */
+export interface OrgUpdateInput {
+  /**
+   * 父级
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 值 */
+  value?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 描述 */
+  description?: string | null
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+}
+
+/** 分页信息输入 */
+export interface PageInputApiGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: ApiGetPageDto
+}
+
+/** 分页信息输入 */
+export interface PageInputDictGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: DictGetPageDto
+}
+
+/** 分页信息输入 */
+export interface PageInputDictTypeGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: DictTypeGetPageDto
+}
+
+
+
+/** 分页信息输入 */
+export interface PageInputLogGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: LogGetPageDto
+}
+
+/** 分页信息输入 */
+export interface PageInputPkgGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: PkgGetPageDto
+}
+
+/** 分页信息输入 */
+export interface PageInputPkgGetPkgTenantListInput {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: PkgGetPkgTenantListInput
+}
+
+/** 分页信息输入 */
+export interface PageInputRoleGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: RoleGetPageDto
+}
+
+/** 分页信息输入 */
+export interface PageInputTaskGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: TaskGetPageDto
+}
+
+/** 分页信息输入 */
+export interface PageInputTaskLogGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: TaskLogGetPageDto
+}
+
+/** 分页信息输入 */
+export interface PageInputTenantGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  filter?: TenantGetPageDto
+}
+
+/** 分页信息输入 */
+export interface PageInputUserGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  dynamicFilter?: DynamicFilterInfo
+  /** 用户分页查询条件 */
+  filter?: UserGetPageDto
+}
+
+/** 分页信息输出 */
+export interface PageOutputApiEntity {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: ApiEntity[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputDictGetPageOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: DictGetPageOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputDictTypeGetPageOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: DictTypeGetPageOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputFileGetPageOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: FileGetPageOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputLoginLogListOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: LoginLogListOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputOprationLogListOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: OprationLogListOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputPkgGetPageOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: PkgGetPageOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputPkgGetPkgTenantListOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: PkgGetPkgTenantListOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputRoleGetPageOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: RoleGetPageOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputTaskListOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: TaskListOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputTaskLog {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: TaskLog[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputTenantListOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: TenantListOutput[] | null
+}
+
+/** 分页信息输出 */
+export interface PageOutputUserGetPageOutput {
+  /**
+   * 数据总数
+   * @format int64
+   */
+  total?: number
+  /** 数据 */
+  list?: UserGetPageOutput[] | null
+}
+
+/**
+ * 密码加密类型:MD5Encrypt32=0,PasswordHasher=1
+ * @format int32
+ */
+export type PasswordEncryptType = 0 | 1
+
+export interface PermissionAddApiInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 接口
+   * @format int64
+   */
+  apiId?: number | null
+  /** 权限名称 */
+  label?: string | null
+  /** 权限编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+}
+
+export interface PermissionAddDotInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 关联接口 */
+  apiIds?: number[] | null
+  /** 权限名称 */
+  label?: string | null
+  /** 权限编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 图标 */
+  icon?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+}
+
+export interface PermissionAddGroupInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 视图
+   * @format int64
+   */
+  viewId?: number | null
+  /** 路由命名 */
+  name?: string | null
+  /** 访问路由地址 */
+  path?: string | null
+  /** 重定向地址 */
+  redirect?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /** 展开 */
+  opened?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+}
+
+export interface PermissionAddMenuInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 视图
+   * @format int64
+   */
+  viewId?: number | null
+  /** 路由命名 */
+  name?: string | null
+  /** 路由地址 */
+  path?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /** 打开新窗口 */
+  newWindow?: boolean
+  /** 链接外显 */
+  external?: boolean
+  /** 是否缓存 */
+  isKeepAlive?: boolean
+  /** 是否固定 */
+  isAffix?: boolean
+  /** 链接地址 */
+  link?: string | null
+  /** 是否内嵌窗口 */
+  isIframe?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+}
+
+export interface PermissionAssignInput {
+  /** @format int64 */
+  roleId: number
+  permissionIds: number[]
+}
+
+/** 权限 */
+export interface PermissionEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 权限名称 */
+  label?: string | null
+  /** 权限编码 */
+  code?: string | null
+  /** 权限类型:Group=1,Menu=2,Dot=3 */
+  type?: PermissionType
+  /**
+   * 视图Id
+   * @format int64
+   */
+  viewId?: number | null
+  /** 视图管理 */
+  view?: ViewEntity
+  /** 路由命名 */
+  name?: string | null
+  /** 路由地址 */
+  path?: string | null
+  /** 重定向地址 */
+  redirect?: string | null
+  /** 图标 */
+  icon?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 展开分组 */
+  opened?: boolean
+  /** 打开新窗口 */
+  newWindow?: boolean
+  /** 链接外显 */
+  external?: boolean
+  /** 是否缓存 */
+  isKeepAlive?: boolean
+  /** 是否固定 */
+  isAffix?: boolean
+  /** 链接地址 */
+  link?: string | null
+  /** 是否内嵌窗口 */
+  isIframe?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  apis?: ApiEntity[] | null
+  childs?: PermissionEntity[] | null
+}
+
+export interface PermissionGetApiOutput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 接口
+   * @format int64
+   */
+  apiId?: number | null
+  /** 权限名称 */
+  label?: string | null
+  /** 权限编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface PermissionGetDotOutput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 关联接口 */
+  apiIds?: number[] | null
+  /** 权限名称 */
+  label?: string | null
+  /** 权限编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 图标 */
+  icon?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface PermissionGetGroupOutput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 视图
+   * @format int64
+   */
+  viewId?: number | null
+  /** 路由命名 */
+  name?: string | null
+  /** 访问路由地址 */
+  path?: string | null
+  /** 重定向地址 */
+  redirect?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /** 展开 */
+  opened?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface PermissionGetMenuOutput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 视图
+   * @format int64
+   */
+  viewId?: number | null
+  /** 路由命名 */
+  name?: string | null
+  /** 路由地址 */
+  path?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /** 打开新窗口 */
+  newWindow?: boolean
+  /** 链接外显 */
+  external?: boolean
+  /** 是否缓存 */
+  isKeepAlive?: boolean
+  /** 是否固定 */
+  isAffix?: boolean
+  /** 链接地址 */
+  link?: string | null
+  /** 是否内嵌窗口 */
+  isIframe?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface PermissionListOutput {
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 权限名称 */
+  label?: string | null
+  /** 权限类型:Group=1,Menu=2,Dot=3 */
+  type?: PermissionType
+  /** 路由地址 */
+  path?: string | null
+  /** 重定向地址 */
+  redirect?: string | null
+  /** 视图地址 */
+  viewPath?: string | null
+  /** 链接地址 */
+  link?: string | null
+  /** 接口路径 */
+  apiPaths?: string | null
+  /** 图标 */
+  icon?: string | null
+  /** 展开 */
+  opened?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number | null
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+}
+
+export interface PermissionSaveTenantPermissionsInput {
+  /** @format int64 */
+  tenantId: number
+  permissionIds: number[]
+}
+
+/**
+ * 权限类型:Group=1,Menu=2,Dot=3
+ * @format int32
+ */
+export type PermissionType = 1 | 2 | 3
+
+export interface PermissionUpdateApiInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 接口
+   * @format int64
+   */
+  apiId?: number | null
+  /** 权限名称 */
+  label?: string | null
+  /** 权限编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface PermissionUpdateDotInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /** 关联接口 */
+  apiIds?: number[] | null
+  /** 权限名称 */
+  label?: string | null
+  /** 权限编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 图标 */
+  icon?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface PermissionUpdateGroupInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 视图
+   * @format int64
+   */
+  viewId?: number | null
+  /** 路由命名 */
+  name?: string | null
+  /** 访问路由地址 */
+  path?: string | null
+  /** 重定向地址 */
+  redirect?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /** 展开 */
+  opened?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface PermissionUpdateMenuInput {
+  /**
+   * 父级节点
+   * @format int64
+   */
+  parentId?: number
+  /**
+   * 视图
+   * @format int64
+   */
+  viewId?: number | null
+  /** 路由命名 */
+  name?: string | null
+  /** 路由地址 */
+  path?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /** 图标 */
+  icon?: string | null
+  /** 打开新窗口 */
+  newWindow?: boolean
+  /** 链接外显 */
+  external?: boolean
+  /** 是否缓存 */
+  isKeepAlive?: boolean
+  /** 是否固定 */
+  isAffix?: boolean
+  /** 链接地址 */
+  link?: string | null
+  /** 是否内嵌窗口 */
+  isIframe?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 权限Id
+   * @format int64
+   */
+  id: number
+}
+
+/** 添加 */
+export interface PkgAddInput {
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+}
+
+/** 添加套餐租户列表 */
+export interface PkgAddPkgTenantListInput {
+  /**
+   * 套餐
+   * @format int64
+   */
+  pkgId: number
+  /** 租户列表 */
+  tenantIds?: number[] | null
+}
+
+/** 套餐 */
+export interface PkgEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 子级列表 */
+  childs?: PkgEntity[] | null
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 租户列表 */
+  tenants?: TenantEntity[] | null
+  /** 权限列表 */
+  permissions?: PermissionEntity[] | null
+}
+
+export interface PkgGetListOutput {
+  /**
+   * 主键
+   * @format int64
+   */
+  id?: number
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 描述 */
+  description?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+}
+
+export interface PkgGetOutput {
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 套餐Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface PkgGetPageDto {
+  /** 名称 */
+  name?: string | null
+}
+
+export interface PkgGetPageOutput {
+  /**
+   * 主键
+   * @format int64
+   */
+  id?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+}
+
+export interface PkgGetPkgTenantListInput {
+  /** 租户名 */
+  tenantName?: string | null
+  /**
+   * 套餐Id
+   * @format int64
+   */
+  pkgId?: number | null
+}
+
+export interface PkgGetPkgTenantListOutput {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /** 租户名 */
+  name?: string | null
+  /** 租户编码 */
+  code?: string | null
+}
+
+export interface PkgSetPkgPermissionsInput {
+  /** @format int64 */
+  pkgId: number
+  permissionIds: number[]
+}
+
+/** 修改 */
+export interface PkgUpdateInput {
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 套餐Id
+   * @format int64
+   */
+  id: number
+}
+
+/** 结果输出 */
+export interface ResultOutputApiGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: ApiGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputAuthGetPasswordEncryptKeyOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: AuthGetPasswordEncryptKeyOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputAuthGetUserInfoOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: AuthGetUserInfoOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputAuthGetUserPermissionsOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: AuthGetUserPermissionsOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputAuthUserProfileDto {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 用户个人信息 */
+  data?: AuthUserProfileDto
+}
+
+/** 结果输出 */
+export interface ResultOutputBoolean {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: boolean
+}
+
+/** 结果输出 */
+export interface ResultOutputCaptchaData {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: CaptchaData
+}
+
+/** 结果输出 */
+export interface ResultOutputDictGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: DictGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputDictTypeGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: DictTypeGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputDictionaryStringListDictGetListDto {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: Record<string, DictGetListDto[] | null>
+}
+
+/** 结果输出 */
+export interface ResultOutputDocumentGetContentOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: DocumentGetContentOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputDocumentGetGroupOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: DocumentGetGroupOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputDocumentGetMenuOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: DocumentGetMenuOutput
+}
+
+
+
+/** 结果输出 */
+export interface ResultOutputIEnumerableObject {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: any[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputIListUserPermissionsOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: UserPermissionsOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputInt64 {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /**
+   * 数据
+   * @format int64
+   */
+  data?: number
+}
+
+/** 结果输出 */
+export interface ResultOutputListApiListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: ApiListOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListAuthUserMenuDto {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: AuthUserMenuDto[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListDocumentListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: DocumentListOutput[] | null
+}
+
+
+
+/** 结果输出 */
+export interface ResultOutputListInt64 {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: number[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListObject {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: any[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListOrgListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: OrgListOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListPermissionListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: PermissionListOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListPkgGetListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: PkgGetListOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListPkgGetPkgTenantListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: PkgGetPkgTenantListOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListRoleGetListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: RoleGetListOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListRoleGetRoleUserListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: RoleGetRoleUserListOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListString {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: string[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputListViewListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: ViewListOutput[] | null
+}
+
+/** 结果输出 */
+export interface ResultOutputObject {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: any
+}
+
+/** 结果输出 */
+export interface ResultOutputOrgGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: OrgGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputApiEntity {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputApiEntity
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputDictGetPageOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputDictGetPageOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputDictTypeGetPageOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputDictTypeGetPageOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputFileGetPageOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputFileGetPageOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputLoginLogListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputLoginLogListOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputOprationLogListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputOprationLogListOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputPkgGetPageOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputPkgGetPageOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputPkgGetPkgTenantListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputPkgGetPkgTenantListOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputRoleGetPageOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputRoleGetPageOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputTaskListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputTaskListOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputTaskLog {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputTaskLog
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputTenantListOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputTenantListOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPageOutputUserGetPageOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 分页信息输出 */
+  data?: PageOutputUserGetPageOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPermissionGetApiOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: PermissionGetApiOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPermissionGetDotOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: PermissionGetDotOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPermissionGetGroupOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: PermissionGetGroupOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPermissionGetMenuOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: PermissionGetMenuOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputPkgGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: PkgGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputRoleGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: RoleGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputString {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: string | null
+}
+
+/** 结果输出 */
+export interface ResultOutputTaskGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: TaskGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputTenantGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: TenantGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputUserGetBasicOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: UserGetBasicOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputUserGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: UserGetOutput
+}
+
+/** 结果输出 */
+export interface ResultOutputValidateResult {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: ValidateResult
+}
+
+/** 结果输出 */
+export interface ResultOutputViewGetOutput {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  data?: ViewGetOutput
+}
+
+/** 添加 */
+export interface RoleAddInput {
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 角色类型:Group=1,Role=2 */
+  type?: RoleType
+  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
+  dataScope?: DataScope
+  /** 指定部门 */
+  orgIds?: number[] | null
+  /** 部门列表 */
+  orgs?: OrgEntity[] | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+}
+
+/** 添加角色用户列表 */
+export interface RoleAddRoleUserListInput {
+  /**
+   * 角色
+   * @format int64
+   */
+  roleId: number
+  /** 用户 */
+  userIds?: number[] | null
+}
+
+/** 角色 */
+export interface RoleEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 租户Id
+   * @format int64
+   */
+  tenantId?: number | null
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 子级列表 */
+  childs?: RoleEntity[] | null
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 角色类型:Group=1,Role=2 */
+  type?: RoleType
+  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
+  dataScope?: DataScope
+  /** 说明 */
+  description?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 用户列表 */
+  users?: UserEntity[] | null
+  /** 部门列表 */
+  orgs?: OrgEntity[] | null
+  /** 权限列表 */
+  permissions?: PermissionEntity[] | null
+}
+
+export interface RoleGetListOutput {
+  /**
+   * 主键
+   * @format int64
+   */
+  id?: number
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 角色类型:Group=1,Role=2 */
+  type?: RoleType
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 描述 */
+  description?: string | null
+}
+
+export interface RoleGetOutput {
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 角色类型:Group=1,Role=2 */
+  type?: RoleType
+  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
+  dataScope?: DataScope
+  /** 指定部门 */
+  orgIds?: number[] | null
+  /** 部门列表 */
+  orgs?: OrgEntity[] | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /**
+   * 角色Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface RoleGetPageDto {
+  /** 名称 */
+  name?: string | null
+}
+
+export interface RoleGetPageOutput {
+  /**
+   * 主键
+   * @format int64
+   */
+  id?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 隐藏 */
+  hidden?: boolean
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+}
+
+export interface RoleGetRoleUserListOutput {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /** 姓名 */
+  name?: string | null
+  /** 手机号 */
+  mobile?: string | null
+}
+
+/** 设置数据范围 */
+export interface RoleSetDataScopeInput {
+  /**
+   * 角色Id
+   * @format int64
+   */
+  roleId: number
+  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
+  dataScope?: DataScope
+  /** 指定部门 */
+  orgIds?: number[] | null
+}
+
+/**
+ * 角色类型:Group=1,Role=2
+ * @format int32
+ */
+export type RoleType = 1 | 2
+
+/** 修改 */
+export interface RoleUpdateInput {
+  /**
+   * 父级Id
+   * @format int64
+   */
+  parentId?: number
+  /** 名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 角色类型:Group=1,Role=2 */
+  type?: RoleType
+  /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
+  dataScope?: DataScope
+  /** 指定部门 */
+  orgIds?: number[] | null
+  /** 部门列表 */
+  orgs?: OrgEntity[] | null
+  /** 说明 */
+  description?: string | null
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /**
+   * 角色Id
+   * @format int64
+   */
+  id: number
+}
+
+/** 发送短信验证码 */
+export interface SendSmsCodeInput {
+  /**
+   * 手机号
+   * @minLength 1
+   */
+  mobile: string
+  /** 验证码Id */
+  codeId?: string | null
+  /**
+   * 验证码Id
+   * @minLength 1
+   */
+  captchaId: string
+  track: SlideTrack
+}
+
+/**
+ * 性别:Unknown(未知)=0,Male(男)=1,Female(女)=2
+ * @format int32
+ */
+export type Sex = 0 | 1 | 2
+
+export interface SlideTrack {
+  /** @format int32 */
+  backgroundImageWidth?: number
+  /** @format int32 */
+  backgroundImageHeight?: number
+  /** @format int32 */
+  sliderImageWidth?: number
+  /** @format int32 */
+  sliderImageHeight?: number
+  /** @format date-time */
+  startTime?: string
+  /** @format date-time */
+  endTime?: string
+  tracks?: Track[] | null
+  /** @format float */
+  percent?: number
+}
+
+/** 员工添加 */
+export interface StaffAddInput {
+  /** 工号 */
+  jobNumber?: string | null
+  /** 职位 */
+  position?: string | null
+  /** 性别:Unknown(未知)=0,Male(男)=1,Female(女)=2 */
+  sex?: Sex
+  /**
+   * 入职时间
+   * @format date-time
+   */
+  entryTime?: string | null
+  /** 企业微信名片 */
+  workWeChatCard?: string | null
+  /** 个人简介 */
+  introduce?: string | null
+}
+
+/** 添加 */
+export interface TaskAddInput {
+  /** 任务标题 */
+  topic?: string | null
+  /** 任务数据 */
+  body?: string | null
+  /**
+   * 任务执行多少轮,-1为永久循环
+   * @format int32
+   */
+  round?: number
+  /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
+  interval?: TaskInterval
+  /** 定时参数值 60,60,60,120,120,1200,1200 */
+  intervalArgument?: string | null
+}
+
+export interface TaskGetOutput {
+  /** 任务标题 */
+  topic?: string | null
+  /** 任务数据 */
+  body?: string | null
+  /**
+   * 任务执行多少轮,-1为永久循环
+   * @format int32
+   */
+  round?: number
+  /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
+  interval?: TaskInterval
+  /** 定时参数值 60,60,60,120,120,1200,1200 */
+  intervalArgument?: string | null
+  /**
+   * 任务Id
+   * @minLength 1
+   */
+  id: string
+}
+
+export interface TaskGetPageDto {
+  /** 任务名称名称 */
+  topic?: string | null
+}
+
+/**
+ * SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21
+ * @format int32
+ */
+export type TaskInterval = 1 | 11 | 12 | 13 | 21
+
+export interface TaskListOutput {
+  /** 主键 */
+  id?: string | null
+  /** 任务标题 */
+  topic?: string | null
+  /** 任务数据 */
+  body?: string | null
+  /**
+   * 任务执行多少轮
+   * @format int32
+   */
+  round?: number
+  /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
+  interval?: TaskInterval
+  /** 定时参数值 */
+  intervalArgument?: string | null
+  /** Running=0,Paused=1,Completed=2 */
+  status?: TaskStatus
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createTime?: string
+  /**
+   * 最后运行时间
+   * @format date-time
+   */
+  lastRunTime?: string
+  /**
+   * 当前运行到第几轮
+   * @format int32
+   */
+  currentRound?: number
+  /**
+   * 错次数
+   * @format int32
+   */
+  errorTimes?: number
+}
+
+export interface TaskLog {
+  taskId?: string | null
+  /** @format int32 */
+  round?: number
+  /** @format int64 */
+  elapsedMilliseconds?: number
+  success?: boolean
+  exception?: string | null
+  remark?: string | null
+  /** @format date-time */
+  createTime?: string
+}
+
+export interface TaskLogGetPageDto {
+  taskId?: string | null
+}
+
+/**
+ * Running=0,Paused=1,Completed=2
+ * @format int32
+ */
+export type TaskStatus = 0 | 1 | 2
+
+/** 修改 */
+export interface TaskUpdateInput {
+  /** 任务标题 */
+  topic?: string | null
+  /** 任务数据 */
+  body?: string | null
+  /**
+   * 任务执行多少轮,-1为永久循环
+   * @format int32
+   */
+  round?: number
+  /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
+  interval?: TaskInterval
+  /** 定时参数值 60,60,60,120,120,1200,1200 */
+  intervalArgument?: string | null
+  /**
+   * 任务Id
+   * @minLength 1
+   */
+  id: string
+}
+
+/** 添加 */
+export interface TenantAddInput {
+  /**
+   * 租户Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 企业名称
+   * @minLength 1
+   */
+  name: string
+  /**
+   * 编码
+   * @minLength 1
+   */
+  code: string
+  /** 套餐Ids */
+  pkgIds?: number[] | null
+  /**
+   * 姓名
+   * @minLength 1
+   */
+  realName: string
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /** 密码 */
+  password?: string | null
+  /** 手机号码 */
+  phone?: string | null
+  /** 邮箱地址 */
+  email?: string | null
+  /** 数据库注册键 */
+  dbKey?: string | null
+  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
+  dbType?: DataType
+  /** 连接字符串 */
+  connectionString?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /** 说明 */
+  description?: string | null
+}
+
+/** 租户 */
+export interface TenantEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 授权用户
+   * @format int64
+   */
+  userId?: number
+  /** 用户 */
+  user?: UserEntity
+  /**
+   * 授权部门
+   * @format int64
+   */
+  orgId?: number
+  /** 组织架构 */
+  org?: OrgEntity
+  /** 租户类型:Platform=1,Tenant=2 */
+  tenantType?: TenantType
+  /** 数据库注册键 */
+  dbKey?: string | null
+  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
+  dbType?: DataType
+  /** 连接字符串 */
+  connectionString?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /** 说明 */
+  description?: string | null
+  /** 套餐列表 */
+  pkgs?: PkgEntity[] | null
+}
+
+export interface TenantGetOutput {
+  /**
+   * 企业名称
+   * @minLength 1
+   */
+  name: string
+  /**
+   * 编码
+   * @minLength 1
+   */
+  code: string
+  /**
+   * 姓名
+   * @minLength 1
+   */
+  realName: string
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /** 密码 */
+  password?: string | null
+  /** 手机号码 */
+  phone?: string | null
+  /** 邮箱地址 */
+  email?: string | null
+  /** 数据库注册键 */
+  dbKey?: string | null
+  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
+  dbType?: DataType
+  /** 连接字符串 */
+  connectionString?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /** 说明 */
+  description?: string | null
+  /**
+   * 租户Id
+   * @format int64
+   */
+  id: number
+  /** 套餐列表 */
+  pkgs?: PkgEntity[] | null
+  /** 套餐Ids */
+  pkgIds?: number[] | null
+}
+
+export interface TenantGetPageDto {
+  /** 企业名称 */
+  name?: string | null
+}
+
+export interface TenantListOutput {
+  /**
+   * 主键
+   * @format int64
+   */
+  id?: number
+  /** 企业名称 */
+  name?: string | null
+  /** 企业编码 */
+  code?: string | null
+  pkgs?: PkgEntity[] | null
+  /** 套餐 */
+  pkgNames?: string[] | null
+  /** 姓名 */
+  realName?: string | null
+  /** 账号 */
+  userName?: string | null
+  /** 手机号码 */
+  phone?: string | null
+  /** 邮箱地址 */
+  email?: string | null
+  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
+  dbType?: DataType
+  /** 数据库名称 */
+  dbTypeName?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /** 说明 */
+  description?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+}
+
+/** 设置启用 */
+export interface TenantSetEnableInput {
+  /**
+   * 租户Id
+   * @format int64
+   */
+  tenantId?: number
+  /** 是否启用 */
+  enabled?: boolean
+}
+
+/**
+ * 租户类型:Platform=1,Tenant=2
+ * @format int32
+ */
+export type TenantType = 1 | 2
+
+/** 修改 */
+export interface TenantUpdateInput {
+  /**
+   * 企业名称
+   * @minLength 1
+   */
+  name: string
+  /**
+   * 编码
+   * @minLength 1
+   */
+  code: string
+  /** 套餐Ids */
+  pkgIds?: number[] | null
+  /**
+   * 姓名
+   * @minLength 1
+   */
+  realName: string
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /** 密码 */
+  password?: string | null
+  /** 手机号码 */
+  phone?: string | null
+  /** 邮箱地址 */
+  email?: string | null
+  /** 数据库注册键 */
+  dbKey?: string | null
+  /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,QuestDb=20,Xugu=21,CustomOracle=22,CustomSqlServer=23,CustomMySql=24,CustomPostgreSQL=25 */
+  dbType?: DataType
+  /** 连接字符串 */
+  connectionString?: string | null
+  /** 启用 */
+  enabled?: boolean
+  /** 说明 */
+  description?: string | null
+  /**
+   * 租户Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface Track {
+  /** @format int32 */
+  x?: number
+  /** @format int32 */
+  y?: number
+  /** @format int32 */
+  t?: number
+}
+
+/** 添加 */
+export interface UserAddInput {
+  /**
+   * 用户Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /**
+   * 姓名
+   * @minLength 1
+   */
+  name: string
+  /** 手机号 */
+  mobile?: string | null
+  /** 邮箱 */
+  email?: string | null
+  /** 角色Ids */
+  roleIds?: number[] | null
+  /** 所属部门Ids */
+  orgIds?: number[] | null
+  /**
+   * 主属部门Id
+   * @format int64
+   */
+  orgId?: number
+  /**
+   * 直属主管Id
+   * @format int64
+   */
+  managerUserId?: number | null
+  /** 直属主管姓名 */
+  managerUserName?: string | null
+  /** 员工添加 */
+  staff?: StaffAddInput
+  /** 密码 */
+  password?: string | null
+  /** 启用 */
+  enabled?: boolean
+}
+
+/** 添加会员 */
+export interface UserAddMemberInput {
+  /**
+   * 会员Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /** 姓名 */
+  name?: string | null
+  /** 手机号 */
+  mobile?: string | null
+  /** 邮箱 */
+  email?: string | null
+  /**
+   * 密码
+   * @minLength 1
+   */
+  password: string
+  /** 用户状态:WaitChangePasssword=2,WaitActive=3 */
+  status?: UserStatus
+}
+
+/** 修改密码 */
+export interface UserChangePasswordInput {
+  /**
+   * 旧密码
+   * @minLength 1
+   */
+  oldPassword: string
+  /**
+   * 新密码
+   * @minLength 1
+   */
+  newPassword: string
+  /**
+   * 确认新密码
+   * @minLength 1
+   */
+  confirmPassword: string
+}
+
+/** 用户 */
+export interface UserEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 租户Id
+   * @format int64
+   */
+  tenantId?: number | null
+  /** 租户 */
+  tenant?: TenantEntity
+  /** 账号 */
+  userName?: string | null
+  /** 密码 */
+  password?: string | null
+  /** 密码加密类型:MD5Encrypt32=0,PasswordHasher=1 */
+  passwordEncryptType?: PasswordEncryptType
+  /** 姓名 */
+  name?: string | null
+  /** 手机号 */
+  mobile?: string | null
+  /** 邮箱 */
+  email?: string | null
+  /**
+   * 主属部门Id
+   * @format int64
+   */
+  orgId?: number
+  /** 组织架构 */
+  org?: OrgEntity
+  /**
+   * 直属主管Id
+   * @format int64
+   */
+  managerUserId?: number | null
+  /** 用户 */
+  managerUser?: UserEntity
+  /** 昵称 */
+  nickName?: string | null
+  /** 头像 */
+  avatar?: string | null
+  /** 用户状态:WaitChangePasssword=2,WaitActive=3 */
+  status?: UserStatus
+  /** 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100 */
+  type?: UserType
+  /** 启用 */
+  enabled?: boolean
+  /** 角色列表 */
+  roles?: RoleEntity[] | null
+  /** 部门列表 */
+  orgs?: OrgEntity[] | null
+  /** 用户员工 */
+  staff?: UserStaffEntity
+}
+
+export interface UserGetBasicOutput {
+  /** 头像 */
+  avatar?: string | null
+  /** 姓名 */
+  name?: string | null
+  /** 昵称 */
+  nickName?: string | null
+  /** 手机号 */
+  mobile?: string | null
+  /** 邮箱 */
+  email?: string | null
+}
+
+export interface UserGetOrgDto {
+  /** @format int64 */
+  id?: number
+  name?: string | null
+}
+
+export interface UserGetOutput {
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /**
+   * 姓名
+   * @minLength 1
+   */
+  name: string
+  /** 手机号 */
+  mobile?: string | null
+  /** 邮箱 */
+  email?: string | null
+  /**
+   * 主属部门Id
+   * @format int64
+   */
+  orgId?: number
+  /**
+   * 直属主管Id
+   * @format int64
+   */
+  managerUserId?: number | null
+  /** 直属主管姓名 */
+  managerUserName?: string | null
+  /** 员工添加 */
+  staff?: StaffAddInput
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+  /** 角色列表 */
+  roles?: UserGetRoleDto[] | null
+  /** 部门列表 */
+  orgs?: UserGetOrgDto[] | null
+  /** 所属部门Ids */
+  orgIds?: number[] | null
+  /** 角色Ids */
+  roleIds?: number[] | null
+}
+
+/** 用户分页查询条件 */
+export interface UserGetPageDto {
+  /**
+   * 部门Id
+   * @format int64
+   */
+  orgId?: number | null
+}
+
+export interface UserGetPageOutput {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /** 账号 */
+  userName?: string | null
+  /** 姓名 */
+  name?: string | null
+  /** 手机号 */
+  mobile?: string | null
+  /** 邮箱 */
+  email?: string | null
+  /** 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100 */
+  type?: UserType
+  roles?: RoleEntity[] | null
+  /** 角色 */
+  roleNames?: string[] | null
+  /** 是否主管 */
+  isManager?: boolean
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+}
+
+export interface UserGetRoleDto {
+  /** @format int64 */
+  id?: number
+  name?: string | null
+}
+
+export interface UserPermissionsOutput {
+  httpMethods?: string | null
+  path?: string | null
+}
+
+/** 重置密码 */
+export interface UserResetPasswordInput {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /** 密码 */
+  password?: string | null
+}
+
+/** 设置启用 */
+export interface UserSetEnableInput {
+  /**
+   * 用户Id
+   * @format int64
+   */
+  userId?: number
+  /** 是否启用 */
+  enabled?: boolean
+}
+
+/** 设置主管 */
+export interface UserSetManagerInput {
+  /**
+   * 用户Id
+   * @format int64
+   */
+  userId?: number
+  /**
+   * 部门Id
+   * @format int64
+   */
+  orgId?: number
+  /** 是否主管 */
+  isManager?: boolean
+}
+
+/** 用户员工 */
+export interface UserStaffEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 租户Id
+   * @format int64
+   */
+  tenantId?: number | null
+  /** 职位 */
+  position?: string | null
+  /** 工号 */
+  jobNumber?: string | null
+  /** 性别:Unknown(未知)=0,Male(男)=1,Female(女)=2 */
+  sex?: Sex
+  /**
+   * 入职时间
+   * @format date-time
+   */
+  entryTime?: string | null
+  /** 企业微信名片 */
+  workWeChatCard?: string | null
+  /** 个人简介 */
+  introduce?: string | null
+}
+
+/**
+ * 用户状态:WaitChangePasssword=2,WaitActive=3
+ * @format int32
+ */
+export type UserStatus = 2 | 3
+
+/**
+ * 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100
+ * @format int32
+ */
+export type UserType = 0 | 1 | 10 | 100
+
+/** 更新基本信息 */
+export interface UserUpdateBasicInput {
+  /**
+   * 姓名
+   * @minLength 1
+   */
+  name: string
+  /** 昵称 */
+  nickName?: string | null
+}
+
+/** 修改 */
+export interface UserUpdateInput {
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /**
+   * 姓名
+   * @minLength 1
+   */
+  name: string
+  /** 手机号 */
+  mobile?: string | null
+  /** 邮箱 */
+  email?: string | null
+  /** 角色Ids */
+  roleIds?: number[] | null
+  /** 所属部门Ids */
+  orgIds?: number[] | null
+  /**
+   * 主属部门Id
+   * @format int64
+   */
+  orgId?: number
+  /**
+   * 直属主管Id
+   * @format int64
+   */
+  managerUserId?: number | null
+  /** 直属主管姓名 */
+  managerUserName?: string | null
+  /** 员工添加 */
+  staff?: StaffAddInput
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+}
+
+/** 修改会员 */
+export interface UserUpdateMemberInput {
+  /**
+   * 账号
+   * @minLength 1
+   */
+  userName: string
+  /** 姓名 */
+  name?: string | null
+  /** 手机号 */
+  mobile?: string | null
+  /** 邮箱 */
+  email?: string | null
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface ValidateResult {
+  /** Success=0,ValidateFail=1,Timeout=2 */
+  result?: ValidateResultType
+  message?: string | null
+}
+
+/**
+ * Success=0,ValidateFail=1,Timeout=2
+ * @format int32
+ */
+export type ValidateResultType = 0 | 1 | 2
+
+/** 添加 */
+export interface ViewAddInput {
+  /**
+   * 所属节点
+   * @format int64
+   */
+  parentId?: number | null
+  /** 视图命名 */
+  name?: string | null
+  /** 视图名称 */
+  label?: string | null
+  /** 视图路径 */
+  path?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 缓存 */
+  cache?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+}
+
+/** 视图管理 */
+export interface ViewEntity {
+  /**
+   * 主键Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 创建者Id
+   * @format int64
+   */
+  createdUserId?: number | null
+  /**
+   * 创建者
+   * @maxLength 50
+   */
+  createdUserName?: string | null
+  /**
+   * 创建时间
+   * @format date-time
+   */
+  createdTime?: string | null
+  /**
+   * 修改者Id
+   * @format int64
+   */
+  modifiedUserId?: number | null
+  /**
+   * 修改者
+   * @maxLength 50
+   */
+  modifiedUserName?: string | null
+  /**
+   * 修改时间
+   * @format date-time
+   */
+  modifiedTime?: string | null
+  /** 是否删除 */
+  isDeleted?: boolean
+  /**
+   * 所属节点
+   * @format int64
+   */
+  parentId?: number
+  /** 视图命名 */
+  name?: string | null
+  /** 视图名称 */
+  label?: string | null
+  /** 视图路径 */
+  path?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 缓存 */
+  cache?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  childs?: ViewEntity[] | null
+}
+
+export interface ViewGetOutput {
+  /**
+   * 所属节点
+   * @format int64
+   */
+  parentId?: number | null
+  /** 视图命名 */
+  name?: string | null
+  /** 视图名称 */
+  label?: string | null
+  /** 视图路径 */
+  path?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 缓存 */
+  cache?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 视图Id
+   * @format int64
+   */
+  id: number
+}
+
+export interface ViewListOutput {
+  /**
+   * 视图Id
+   * @format int64
+   */
+  id?: number
+  /**
+   * 视图父级
+   * @format int64
+   */
+  parentId?: number | null
+  /** 视图命名 */
+  name?: string | null
+  /** 视图名称 */
+  label?: string | null
+  /** 视图路径 */
+  path?: string | null
+  /** 缓存 */
+  cache?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /** 说明 */
+  description?: string | null
+}
+
+export interface ViewSyncDto {
+  /** 视图命名 */
+  name?: string | null
+  /** 地址 */
+  path?: string | null
+  /** 视图名称 */
+  label?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 缓存 */
+  cache?: boolean
+}
+
+export interface ViewSyncInput {
+  views?: ViewSyncDto[] | null
+}
+
+/** 修改 */
+export interface ViewUpdateInput {
+  /**
+   * 所属节点
+   * @format int64
+   */
+  parentId?: number | null
+  /** 视图命名 */
+  name?: string | null
+  /** 视图名称 */
+  label?: string | null
+  /** 视图路径 */
+  path?: string | null
+  /** 说明 */
+  description?: string | null
+  /** 缓存 */
+  cache?: boolean
+  /**
+   * 排序
+   * @format int32
+   */
+  sort?: number
+  /** 启用 */
+  enabled?: boolean
+  /**
+   * 视图Id
+   * @format int64
+   */
+  id: number
+}
+/** 应用权限-新增分组、菜单、权限点 */
+export interface oauthPermissionDto {
+  id: number
+  /** 上一级分组 */
+  parentId?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 权限类型 */
+  type?: number | null
+  /** 图标 */
+  icon?: string | null
+  /** 排序 */
+  sort?: string|null
+  /** 应用id */
+  appID?: number
+  /** 视图id */
+  viewId?: number|null
+   /** 视图地址 */
+  viewPath?: string|null
+  /** 说明 */
+  // description?: string | null
+}
+/** 应用权限 */
+export interface OauthPermission {
+  /** 主键id */
+  id: number
+  /** 创建者id */
+  createdUserId: number
+  /** 创建者 */
+  createdUserName: string | null
+  /** 创建时间 */
+  createdTime: string | null
+  /** 修改者id */
+  modifiedUserId: number
+  /** 修改者 */
+  modifiedUserName: string | null
+  /** 修改时间 */
+  modifiedTime: string | null
+  /** 是否删除 */
+  isDeleted: boolean
+  /** 版本 */
+  version: number
+  /** 上一级分组 */
+  parentId?: string | null
+  /** 权限名称 */
+  label?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 权限类型 */
+  type?: number | null
+  /** 图标 */
+  icon?: string | null
+  /** 排序 */
+  sort?: string|null
+  /** 应用id */
+  appID?: number
+  /** 视图id */
+  viewId?: string|null
+  /** 视图地址 */
+  viewPath?: string|null
+  /** 展开 */
+  opened?: boolean
+  /** 说明 */
+  // description?: string | null
+}
+/** 应用权限信息输出 */
+export interface ResultOutputListOauthPermission{
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: OauthPermission[] | null
+}
+/** 应用请求参数 */
+export interface OauthApplyDto{
+  id: number
+  /** 应用id */
+  appid?: string
+  /** 应用名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 排序 */
+  sort?: string|null
+  /** 最小可用版本 */
+  minVersion?: string|null
+}
+/** 应用 */
+export interface OauthApply{
+  /** 主键id */
+  id: number
+  /** 创建者id */
+  createdUserId: number
+  /** 创建者 */
+  createdUserName: string | null
+  /** 创建时间 */
+  createdTime: string | null
+  /** 修改者id */
+  modifiedUserId: number
+  /** 修改者 */
+  modifiedUserName: string | null
+  /** 修改时间 */
+  modifiedTime: string | null
+  /** 是否删除 */
+  isDeleted: boolean
+  /** 版本 */
+  version: number
+  /** 最小可用版本 */
+  minVersion: string | null
+  /** 应用id */
+  appid?: string
+  /** 应用名称 */
+  name?: string | null
+  /** 编码 */
+  code?: string | null
+  /** 排序 */
+  sort?: string|null
+}
+/** 应用信息输出 */
+export interface ResultOutputListOauthApply{
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: OauthApply[] | null
+}
+/** 应用视图 */
+export interface OauthView{
+  /** 主键id */
+  id: number
+  /** 创建者id */
+  createdUserId: number
+  /** 创建者 */
+  createdUserName: string | null
+  /** 创建时间 */
+  createdTime: string | null
+  /** 修改者id */
+  modifiedUserId: number
+  /** 修改者 */
+  modifiedUserName: string | null
+  /** 修改时间 */
+  modifiedTime: string | null
+  /** 是否删除 */
+  isDeleted: boolean
+  /** 版本 */
+  version: number
+  /** 上一级分组 */
+  parentId?: string | null
+  /** 视图名称 */
+  label?: string
+  /** 视图地址 */
+  path?: string | null
+  /** 排序 */
+  sort?: string|null
+  /** 应用id */
+  appID?: number
+}
+/** 应用视图信息输出 */
+export interface ResultOutputListOauthView{
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: OauthView[] | null
+}
+/** 视图请求参数 */
+export interface OauthViewDto{
+  id: number
+  /** 上一级分组 */
+  parentId?: string | null
+  /** 视图名称 */
+  label?: string
+  /** 视图地址 */
+  path?: string | null
+  /** 排序 */
+  sort?: string|null
+  /** 应用id */
+  appID?: string
+}
+/** 角色请求参数 */
+export interface OauthRoleDto{
+  id:number,
+  /** 上一级分组 */
+  parentId?: string | null
+  /** 角色名称 */
+  name?: string
+  /** 编码 */
+  code?: string | null
+  /** 类型 */
+  type?:RoleType
+  /** 说明 */
+  description?:string|null
+  /** 排序 */
+  sort?: string|null
+}
+/** 应用角色 */
+export interface OauthRole{
+  /** 主键id */
+  id: number
+  /** 创建者id */
+  createdUserId: number
+  /** 创建者 */
+  createdUserName: string | null
+  /** 创建时间 */
+  createdTime: string | null
+  /** 修改者id */
+  modifiedUserId: number
+  /** 修改者 */
+  modifiedUserName: string | null
+  /** 修改时间 */
+  modifiedTime: string | null
+  /** 是否删除 */
+  isDeleted: boolean
+  /** 版本 */
+  version: number
+  /** 上一级分组 */
+  parentId?: string | null
+  /** 角色名称 */
+  name?: string
+  /** 编码 */
+  code?: string | null
+  /** 类型 */
+  type?:RoleType
+  /** 说明 */
+  description?:string|null
+  /** 排序 */
+  sort?: string|null
+  appid: number
+}
+/** 应用角色信息输出 */
+export interface ResultOutputListOauthRole{
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: OauthRole[] | null
+}
+/** 操作日志信息 */
+export interface OauthOperationRecordGetPageOutPut{
+  /** 操作类型 */
+  operationType?: string |null
+  /** 模块名称 */
+  moduleName?: string | null
+  /** 描述 */
+  operationContent?: string | null
+  /** 操作前 */
+  beforeState?: string | null
+  /** 操作后 */
+  afterState?: string | null
+  /** 操作结果 */
+  result?: string | null
+  /** 操作人 */
+  createdUserName?: string | null
+  /** 操作时间 */
+  createdTime?: string | null
+}
+/** 操作日志输出信息 */
+export interface PageOutputOauthOperationRecordGetPageOutPut{
+  /** 数据总数 */
+  total?: number |null
+  /** 数据 */
+  list?: OauthOperationRecordGetPageOutPut[] | null
+}
+/** 操作日志信息输出 */
+export interface ResultOutputPageOutputOauthOperationRecordGetPageOutPut{
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: PageOutputOauthOperationRecordGetPageOutPut | null
+}
+
+export interface Filter {
+  /** 操作类型 */
+  operationType?: string |null
+  /** 模块名称 */
+  moduleName?: string | null
+  /** 操作人 */
+  createdUserName?: string | null
+  /** 操作时间 */
+  createdTime?: string | null
+}
+
+/** 操作日志分页信息输入 */
+export interface PageInputOperationGetPageDto {
+  /**
+   * 当前页标
+   * @format int32
+   */
+  currentPage?: number
+  /**
+   * 每页大小
+   * @format int32
+   */
+  pageSize?: number
+  filter?: Filter
+}
+/** 角色应用权限菜单输出 */
+export interface ResultOutputList {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: [] | null
+}
+/** 角色应用用户信息 */
+export interface UserDto {
+  /** 用户id */
+  id?: number | null
+  /** 用户名 */
+  name?: string | null
+  /** 手机号 */
+  mobile?: string | null
+}
+/** 角色应用用户信息输出 */
+export interface ResultOutputListUserDto {
+  /** 是否成功标记 */
+  success?: boolean
+  /** 编码 */
+  code?: string | null
+  /** 消息 */
+  msg?: string | null
+  /** 数据 */
+  data?: UserDto[] | null
+}
+
+
+
+
+
+

+ 7 - 1
admin.ui.plus-master/src/views/admin/application/applicationManage/components/org-form.vue

@@ -26,6 +26,11 @@
               <el-input v-model="form.code" clearable />
             </el-form-item>
           </el-col>
+          <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
+            <el-form-item label="最小版本" prop="code">
+              <el-input v-model="form.minVersion" clearable />
+            </el-form-item>
+          </el-col>
           <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
             <el-form-item label="排序">
               <el-input-number v-model="form.sort" />
@@ -69,7 +74,8 @@ const state = reactive({
     appid: '',
     name: '',
     code: '',
-    sort: ''
+    sort: '',
+    minVersion:'',
   } as OauthApplyDto,
 })
 

+ 1 - 0
admin.ui.plus-master/src/views/admin/application/applicationManage/index.vue

@@ -24,6 +24,7 @@
               <div class="flex delete" @click="onDelete(v)">X</div>
             </div>
             <div class="flex" style="flex: 1;">{{ v.name }}</div>
+            <div class="flex" style="flex: 1;">最小可用版本:{{ v.minVersion }}</div>
             <div class="flex" style="height: 50px;width: 100%;">
               <el-row style="width: 100%">
                 <el-col :span="8"><el-button style="width: 100%;height: 50px;border-radius: 0" type="primary" @click="toPermissPage(v)">权限</el-button></el-col>

+ 133 - 127
admin.ui.plus-master/src/views/example/application/applicationManage/components/org-form.vue

@@ -1,127 +1,133 @@
-<template>
-  <div>
-    <el-dialog
-      v-model="state.showDialog"
-      destroy-on-close
-      :title="title"
-      draggable
-      :close-on-click-modal="false"
-      :close-on-press-escape="false"
-      width="600px"
-    >
-      <el-form :model="form" ref="formRef" size="default" label-width="80px">
-        <el-row :gutter="35">
-          <!-- <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
-            <el-form-item label="应用ID" prop="appid" :rules="[{ required: true, message: '请输入应用ID', trigger: ['blur', 'change'] }]">
-              <el-input v-model="form.appid" clearable />
-            </el-form-item>
-          </el-col> -->
-          <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
-            <el-form-item label="应用名称" prop="name" :rules="[{ required: true, message: '请输入应用名称', trigger: ['blur', 'change'] }]">
-              <el-input v-model="form.name" clearable />
-            </el-form-item>
-          </el-col>
-          <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
-            <el-form-item label="应用编码" prop="code">
-              <el-input v-model="form.code" clearable />
-            </el-form-item>
-          </el-col>
-          <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
-            <el-form-item label="排序">
-              <el-input-number v-model="form.sort" />
-            </el-form-item>
-          </el-col>
-        </el-row>
-      </el-form>
-      <template #footer>
-        <span class="dialog-footer">
-          <el-button @click="onCancel" size="default">取 消</el-button>
-          <el-button type="primary" @click="onSure" size="default" :loading="state.sureLoading">确 定</el-button>
-        </span>
-      </template>
-    </el-dialog>
-  </div>
-</template>
-
-<script lang="ts" setup name="admin/org/form">
-import { reactive, toRefs, ref, PropType } from 'vue'
-import { OauthApplyDto,OauthApply } from '/@/api/admin/data-contracts'
-import { PermissionApi } from '/@/api/admin/Permission'
-import eventBus from '/@/utils/mitt'
-
-defineProps({
-  title: {
-    type: String,
-    default: '',
-  },
-  orgTreeData: {
-    type: Array as PropType<OauthApply[]>,
-    default: () => [],
-  },
-})
-
-const formRef = ref()
-const state = reactive({
-  showDialog: false,
-  sureLoading: false,
-  form: {
-    id:0,
-    appid: '',
-    name: '',
-    code: '',
-    sort: ''
-  } as OauthApplyDto,
-})
-
-const { form } = toRefs(state)
-
-// 打开对话框
-const open = async (row: any = {}) => {
-  // if (row.id > 0) {
-  //   const res = await new PermissionApi().getApplyInfo({ id: row.id }, { loading: true })
-
-  //   if (res?.success) {
-  //     let formData = res.data as OauthApplyDto
-  //     state.form = formData
-  //   }
-  // } else {
-  //   state.form = {} as OauthApplyDto
-  // }
-  state.form=row
-  state.showDialog = true
-}
-// 取消
-const onCancel = () => {
-  state.showDialog = false
-}
-
-// 确定
-const onSure = () => {
-  formRef.value.validate(async (valid: boolean) => {
-    if (!valid) return
-
-    state.sureLoading = true
-    let res = {} as any
-    if (state.form.id != undefined && state.form.id > 0) {
-      res = await new PermissionApi().addApply(state.form, { showSuccessMessage: true }).catch(() => {
-        state.sureLoading = false
-      })
-    } else {
-      res = await new PermissionApi().addApply(state.form, { showSuccessMessage: true }).catch(() => {
-        state.sureLoading = false
-      })
-    }
-
-    state.sureLoading = false
-
-    if (res?.success) {
-      eventBus.emit('refreshOrg')
-      state.showDialog = false
-    }
-  })
-}
-
-defineExpose({
-  open,
-})
-</script>
+<template>
+  <div>
+    <el-dialog
+      v-model="state.showDialog"
+      destroy-on-close
+      :title="title"
+      draggable
+      :close-on-click-modal="false"
+      :close-on-press-escape="false"
+      width="600px"
+    >
+      <el-form :model="form" ref="formRef" size="default" label-width="80px">
+        <el-row :gutter="35">
+          <!-- <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
+            <el-form-item label="应用ID" prop="appid" :rules="[{ required: true, message: '请输入应用ID', trigger: ['blur', 'change'] }]">
+              <el-input v-model="form.appid" clearable />
+            </el-form-item>
+          </el-col> -->
+          <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
+            <el-form-item label="应用名称" prop="name" :rules="[{ required: true, message: '请输入应用名称', trigger: ['blur', 'change'] }]">
+              <el-input v-model="form.name" clearable />
+            </el-form-item>
+          </el-col>
+          <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
+            <el-form-item label="应用编码" prop="code">
+              <el-input v-model="form.code" clearable />
+            </el-form-item>
+          </el-col>
+          <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
+            <el-form-item label="最小版本" prop="code">
+              <el-input v-model="form.minVersion" clearable />
+            </el-form-item>
+          </el-col>
+          <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
+            <el-form-item label="排序">
+              <el-input-number v-model="form.sort" />
+            </el-form-item>
+          </el-col>
+        </el-row>
+      </el-form>
+      <template #footer>
+        <span class="dialog-footer">
+          <el-button @click="onCancel" size="default">取 消</el-button>
+          <el-button type="primary" @click="onSure" size="default" :loading="state.sureLoading">确 定</el-button>
+        </span>
+      </template>
+    </el-dialog>
+  </div>
+</template>
+
+<script lang="ts" setup name="admin/org/form">
+import { reactive, toRefs, ref, PropType } from 'vue'
+import { OauthApplyDto,OauthApply } from '/@/api/admin/data-contracts'
+import { PermissionApi } from '/@/api/admin/Permission'
+import eventBus from '/@/utils/mitt'
+
+defineProps({
+  title: {
+    type: String,
+    default: '',
+  },
+  orgTreeData: {
+    type: Array as PropType<OauthApply[]>,
+    default: () => [],
+  },
+})
+
+const formRef = ref()
+const state = reactive({
+  showDialog: false,
+  sureLoading: false,
+  form: {
+    id:0,
+    appid: '',
+    name: '',
+    code: '',
+    sort: '',
+    minVersion:'',
+  } as OauthApplyDto,
+})
+
+const { form } = toRefs(state)
+
+// 打开对话框
+const open = async (row: any = {}) => {
+  // if (row.id > 0) {
+  //   const res = await new PermissionApi().getApplyInfo({ id: row.id }, { loading: true })
+
+  //   if (res?.success) {
+  //     let formData = res.data as OauthApplyDto
+  //     state.form = formData
+  //   }
+  // } else {
+  //   state.form = {} as OauthApplyDto
+  // }
+  state.form=row
+  state.showDialog = true
+}
+// 取消
+const onCancel = () => {
+  state.showDialog = false
+}
+
+// 确定
+const onSure = () => {
+  formRef.value.validate(async (valid: boolean) => {
+    if (!valid) return
+
+    state.sureLoading = true
+    let res = {} as any
+    if (state.form.id != undefined && state.form.id > 0) {
+      res = await new PermissionApi().addApply(state.form, { showSuccessMessage: true }).catch(() => {
+        state.sureLoading = false
+      })
+    } else {
+      res = await new PermissionApi().addApply(state.form, { showSuccessMessage: true }).catch(() => {
+        state.sureLoading = false
+      })
+    }
+
+    state.sureLoading = false
+
+    if (res?.success) {
+      eventBus.emit('refreshOrg')
+      state.showDialog = false
+    }
+  })
+}
+
+defineExpose({
+  open,
+})
+</script>

+ 148 - 145
admin.ui.plus-master/src/views/example/application/applicationManage/index.vue

@@ -1,145 +1,148 @@
-<template>
-  <div class="my-layout">
-    <el-card class="mt8" shadow="never" :body-style="{ paddingBottom: '0' }">
-      <el-form :inline="true" @submit.stop.prevent>
-        <el-form-item label="应用名称">
-          <el-input v-model="state.filter.name" placeholder="应用名称" @keyup.enter="onQuery" />
-        </el-form-item>
-        <el-form-item>
-          <el-button type="primary" icon="ele-Search" @click="onQuery"> 查询 </el-button>
-        </el-form-item>
-      </el-form>
-    </el-card>
-
-    <el-card class="my-fill mt8" shadow="never">
-      <el-row>
-        <el-col :span="6">
-          <div class="flex app appDdd" @click="onAdd">
-            <div class="flex appDdd" style="width: 100px;height: 100px;background-color: #EFEFEF;border-radius: 50%;font-size: 20px;">+</div>
-          </div>
-        </el-col>
-        <el-col :span="6" v-for="(v, k) in state.applyData" :key="k">
-          <div class="flex app">
-            <div style="display: flex;justify-content: space-between;align-items: flex-start;align-self: flex-end;">
-              <div class="flex delete" @click="onDelete(v)">X</div>
-            </div>
-            <div class="flex" style="flex: 1;">{{ v.name }}</div>
-            <div class="flex" style="height: 50px;width: 100%;">
-              <el-row style="width: 100%">
-                <el-col :span="8"><el-button style="width: 100%;height: 50px;border-radius: 0" type="primary" @click="toPermissPage(v)">权限</el-button></el-col>
-                <el-col :span="8"><el-button style="width: 98%;height: 50px;border-radius: 0;" type="primary" @click="toRolePage(v)">角色</el-button></el-col>
-                <el-col :span="8"><el-button style="width: 100%;height: 50px;border-radius: 0;" type="primary" @click="toViewPage(v)">视图</el-button></el-col>
-              </el-row>
-            </div>
-          </div>
-        </el-col>
-      </el-row>
-    </el-card>
-
-    <org-form ref="orgFormRef" :title="state.orgFormTitle" :org-tree-data="state.orgTreeData"></org-form>
-  </div>
-</template>
-
-<script lang="ts" setup name="admin/org">
-import { ref, reactive, onMounted, getCurrentInstance, onBeforeMount, defineAsyncComponent } from 'vue'
-import { OauthApply,OauthApplyDto } from '/@/api/admin/data-contracts'
-import { PermissionApi } from '/@/api/admin/Permission'
-import router from "/@/router";
-import eventBus from '/@/utils/mitt'
-import { auth } from '/@/utils/authFunction'
-
-// 引入组件
-const OrgForm = defineAsyncComponent(() => import('./components/org-form.vue'))
-
-const { proxy } = getCurrentInstance() as any
-
-const orgFormRef = ref()
-
-const state = reactive({
-  loading: false,
-  orgFormTitle: '',
-  filter: {
-    name: '',
-  }as OauthApplyDto,
-  applyData: [] as Array<OauthApply>,
-})
-
-onMounted(() => {
-  onQuery()
-  eventBus.off('refreshOrg')
-  eventBus.on('refreshOrg', () => {
-    onQuery()
-  })
-})
-
-onBeforeMount(() => {
-  eventBus.off('refreshOrg')
-})
-
-const onQuery = async () => {
-  state.loading = true
-  const res = await new PermissionApi().getApplyInfo(state.filter).catch(() => {
-    state.loading = false
-  })
-  state.applyData=res.data
-  state.loading=false
-}
-
-const onAdd = () => {
-  state.orgFormTitle = '新增应用'
-  orgFormRef.value.open()
-}
-
-const onEdit = (row: OauthApply) => {
-  state.orgFormTitle = '编辑应用'
-  orgFormRef.value.open(row)
-}
-
-const onDelete = (row: OauthApply) => {
-  proxy.$modal
-    .confirmDelete(`确定要删除应用【${row.name}】?`)
-    .then(async () => {
-      await new PermissionApi().applyDelete({ id: row.id }, { loading: true })
-      onQuery()
-    })
-    .catch(() => {})
-}
-const toRolePage = (row: OauthApply) => {
-  router.push({path:`/platform/application/roleManage/${row.name}`})
-}
-const toViewPage = (row: OauthApply) => {
-  router.push({path:`/platform/application/viewManage/${row.name}`})
-}
-const toPermissPage = (row: OauthApply) => {
-  router.push({path:`/platform/application/permissionManage/${row.name}`})
-}
-</script>
-
-<style scoped lang="scss">
-.flex{
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-  justify-content: center;
-  text-align: center;
-}
-.app{
-  margin-left: 10px;
-  margin-bottom: 10px;
-  height: 175px;
-  border: #7728F5 solid 2px;
-}
-.appDdd{
-  border: #7728F5 dashed 1px;
-  cursor: default;
-}
-.delete{
-  width: 25px;
-  height: 25px;
-  border: #BBBBBB solid 2px;
-  border-radius: 50%;
-  color: #BBBBBB;
-  font-size: 25px;
-  cursor: default;
-}
-</style>
+<template>
+  <div class="my-layout">
+    <el-card class="mt8" shadow="never" :body-style="{ paddingBottom: '0' }">
+      <el-form :inline="true" @submit.stop.prevent>
+        <el-form-item label="应用名称">
+          <el-input v-model="state.filter.name" placeholder="应用名称" @keyup.enter="onQuery" />
+        </el-form-item>
+        <el-form-item>
+          <el-button type="primary" icon="ele-Search" @click="onQuery"> 查询 </el-button>
+        </el-form-item>
+      </el-form>
+    </el-card>
+
+    <el-card class="my-fill mt8" shadow="never">
+      <el-row>
+        <el-col :span="6">
+          <div class="flex app appDdd" @click="onAdd">
+            <div class="flex appDdd" style="width: 100px;height: 100px;background-color: #EFEFEF;border-radius: 50%;font-size: 20px;">+</div>
+          </div>
+        </el-col>
+        <el-col :span="6" v-for="(v, k) in state.applyData" :key="k">
+          <div class="flex app">
+            <div style="display: flex;justify-content: space-between;align-items: flex-start;align-self: flex-end;">
+              <div class="flex delete" @click="onDelete(v)">X</div>
+            </div>
+            <div class="flex" style="flex: 1;">{{ v.name }}</div>
+            <div class="flex" style="flex: 1;">最小可用版本:{{ v.minVersion }}</div>
+            <div class="flex" style="height: 75px;width: 100%;">
+              <el-row style="width: 100%">
+                <el-col :span="8"><el-button style="width: 100%;height: 38px;border-radius: 0" type="primary" @click="toPermissPage(v)">权限</el-button></el-col>
+                <el-col :span="8"><el-button style="width: 98%;height: 38px;border-radius: 0;" type="primary" @click="toRolePage(v)">角色</el-button></el-col>
+                <el-col :span="8"><el-button style="width: 100%;height: 38px;border-radius: 0;" type="primary" @click="toViewPage(v)">视图</el-button></el-col>
+                <el-col :span="8"><el-button style="width: 100%;height: 38px;border-radius: 0;margin-top: 1%;" type="primary" @click="toViewPage(v)">设备管理</el-button></el-col>
+                <el-col :span="8"><el-button style="width: 98%;height: 38px;border-radius: 0;margin-top: 1%;" type="primary" @click="onEdit(v)">修改</el-button></el-col>
+              </el-row>
+            </div>
+          </div>
+        </el-col>
+      </el-row>
+    </el-card>
+
+    <org-form ref="orgFormRef" :title="state.orgFormTitle" :org-tree-data="state.orgTreeData"></org-form>
+  </div>
+</template>
+
+<script lang="ts" setup name="admin/org">
+import { ref, reactive, onMounted, getCurrentInstance, onBeforeMount, defineAsyncComponent } from 'vue'
+import { OauthApply,OauthApplyDto } from '/@/api/admin/data-contracts'
+import { PermissionApi } from '/@/api/admin/Permission'
+import router from "/@/router";
+import eventBus from '/@/utils/mitt'
+import { auth } from '/@/utils/authFunction'
+
+// 引入组件
+const OrgForm = defineAsyncComponent(() => import('./components/org-form.vue'))
+
+const { proxy } = getCurrentInstance() as any
+
+const orgFormRef = ref()
+
+const state = reactive({
+  loading: false,
+  orgFormTitle: '',
+  filter: {
+    name: '',
+  }as OauthApplyDto,
+  applyData: [] as Array<OauthApply>,
+})
+
+onMounted(() => {
+  onQuery()
+  eventBus.off('refreshOrg')
+  eventBus.on('refreshOrg', () => {
+    onQuery()
+  })
+})
+
+onBeforeMount(() => {
+  eventBus.off('refreshOrg')
+})
+
+const onQuery = async () => {
+  state.loading = true
+  const res = await new PermissionApi().getApplyInfo(state.filter).catch(() => {
+    state.loading = false
+  })
+  state.applyData=res.data
+  state.loading=false
+}
+
+const onAdd = () => {
+  state.orgFormTitle = '新增应用'
+  orgFormRef.value.open()
+}
+
+const onEdit = (row: OauthApply) => {
+  state.orgFormTitle = '编辑应用'
+  orgFormRef.value.open(row)
+}
+
+const onDelete = (row: OauthApply) => {
+  proxy.$modal
+    .confirmDelete(`确定要删除应用【${row.name}】?`)
+    .then(async () => {
+      await new PermissionApi().applyDelete({ id: row.id }, { loading: true })
+      onQuery()
+    })
+    .catch(() => {})
+}
+const toRolePage = (row: OauthApply) => {
+  router.push({path:`/platform/application/roleManage/${row.name}`})
+}
+const toViewPage = (row: OauthApply) => {
+  router.push({path:`/platform/application/viewManage/${row.name}`})
+}
+const toPermissPage = (row: OauthApply) => {
+  router.push({path:`/platform/application/permissionManage/${row.name}`})
+}
+</script>
+
+<style scoped lang="scss">
+.flex{
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  text-align: center;
+}
+.app{
+  margin-left: 10px;
+  margin-bottom: 10px;
+  height: 175px;
+  border: #7728F5 solid 2px;
+}
+.appDdd{
+  border: #7728F5 dashed 1px;
+  cursor: default;
+}
+.delete{
+  width: 25px;
+  height: 25px;
+  border: #BBBBBB solid 2px;
+  border-radius: 50%;
+  color: #BBBBBB;
+  font-size: 25px;
+  cursor: default;
+}
+</style>