From 4af3b46bc4fe4ee59c678b5d217e5b8db80a74cd Mon Sep 17 00:00:00 2001 From: 27457 <2745757903@qq.com> Date: Thu, 27 Nov 2025 16:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- build/cool/eps.d.ts | 1968 +++++++++++++++++++++---------------------- build/cool/eps.json | 2 +- 3 files changed, 986 insertions(+), 986 deletions(-) diff --git a/.env b/.env index 028356d6..bb93a283 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 应用名称 -VITE_NAME = "COOL-ADMIN" +VITE_NAME = "农创之翼-ADMIN" # 网络超时请求时间 VITE_TIMEOUT = 30000 \ No newline at end of file diff --git a/build/cool/eps.d.ts b/build/cool/eps.d.ts index 5c5b21f6..3882888f 100644 --- a/build/cool/eps.d.ts +++ b/build/cool/eps.d.ts @@ -1,249 +1,4 @@ declare namespace Eps { - interface PluginInfoEntity { - /** - * 名称 - */ - name?: string; - - /** - * 简介 - */ - description?: string; - - /** - * 实例对象 - */ - key?: string; - - /** - * Hook - */ - hook?: string; - - /** - * 描述 - */ - readme?: string; - - /** - * 版本 - */ - version?: string; - - /** - * Logo(base64) - */ - logo?: string; - - /** - * 作者 - */ - author?: string; - - /** - * 状态 0-禁用 1-启用 - */ - status?: number; - - /** - * 插件的plugin.json - */ - pluginJson?: string; - - /** - * 配置 - */ - config?: string; - - /** - * 创建时间 - */ - createTime?: Date; - - /** - * 更新时间 - */ - updateTime?: Date; - - /** - * 任意键值 - */ - [key: string]: any; - } - - interface SpaceTypeEntity { - /** - * 类别名称 - */ - name?: string; - - /** - * 父分类ID - */ - parentId?: number; - - /** - * 创建时间 - */ - createTime?: Date; - - /** - * 更新时间 - */ - updateTime?: Date; - - /** - * 任意键值 - */ - [key: string]: any; - } - - interface SpaceInfoEntity { - /** - * 地址 - */ - url?: string; - - /** - * 类型 - */ - type?: string; - - /** - * 分类ID - */ - classifyId?: number; - - /** - * 文件id - */ - fileId?: string; - - /** - * 文件名 - */ - name?: string; - - /** - * 文件大小 - */ - size?: number; - - /** - * 文档版本 - */ - version?: number; - - /** - * 文件位置 - */ - filePath?: string; - - /** - * 创建时间 - */ - createTime?: Date; - - /** - * 更新时间 - */ - updateTime?: Date; - - /** - * 任意键值 - */ - [key: string]: any; - } - - interface BaseSysLogEntity { - /** - * 用户ID - */ - userId?: number; - - /** - * 行为 - */ - action?: string; - - /** - * IP - */ - ip?: string; - - /** - * 参数 - */ - params?: string; - - /** - * 创建时间 - */ - createTime?: Date; - - /** - * 更新时间 - */ - updateTime?: Date; - - /** - * 任意键值 - */ - [key: string]: any; - } - - interface BaseSysRoleEntity { - /** - * 用户ID - */ - userId?: number; - - /** - * 名称 - */ - name?: string; - - /** - * 角色标签 - */ - label?: string; - - /** - * 备注 - */ - remark?: string; - - /** - * 数据权限是否关联上下级 - */ - relevance?: number; - - /** - * 菜单权限 - */ - menuIdList?: string; - - /** - * 部门权限 - */ - departmentIdList?: string; - - /** - * 创建时间 - */ - createTime?: Date; - - /** - * 更新时间 - */ - updateTime?: Date; - - /** - * 任意键值 - */ - [key: string]: any; - } - interface BaseSysDepartmentEntity { /** * 部门名称 @@ -358,56 +113,78 @@ declare namespace Eps { [key: string]: any; } - interface BaseSysMenuEntity { + interface BaseSysRoleEntity { /** - * 父菜单ID + * 用户ID */ - parentId?: number; + userId?: number; /** - * 菜单名称 + * 名称 */ name?: string; /** - * 权限 + * 角色标签 */ - perms?: string; + label?: string; /** - * 类型 0:目录 1:菜单 2:按钮 + * 备注 */ - type?: number; + remark?: string; /** - * 图标 + * 数据权限是否关联上下级 */ - icon?: string; + relevance?: number; /** - * 排序 + * 菜单权限 */ - orderNum?: number; + menuIdList?: string; /** - * 菜单地址 + * 部门权限 */ - router?: string; + departmentIdList?: string; /** - * 视图地址 + * 创建时间 */ - viewPath?: string; + createTime?: Date; /** - * 路由缓存 + * 更新时间 */ - keepAlive?: boolean; + updateTime?: Date; /** - * 是否显示 + * 任意键值 */ - isShow?: boolean; + [key: string]: any; + } + + interface BaseSysLogEntity { + /** + * 用户ID + */ + userId?: number; + + /** + * 行为 + */ + action?: string; + + /** + * IP + */ + ip?: string; + + /** + * 参数 + */ + params?: string; /** * 创建时间 @@ -467,26 +244,31 @@ declare namespace Eps { [key: string]: any; } - interface DictInfoEntity { + interface BaseSysMenuEntity { /** - * 类型ID - */ - typeId?: number; - - /** - * 父ID + * 父菜单ID */ parentId?: number; /** - * 名称 + * 菜单名称 */ name?: string; /** - * 值 + * 权限 */ - value?: string; + perms?: string; + + /** + * 类型 0:目录 1:菜单 2:按钮 + */ + type?: number; + + /** + * 图标 + */ + icon?: string; /** * 排序 @@ -494,36 +276,24 @@ declare namespace Eps { orderNum?: number; /** - * 备注 + * 菜单地址 */ - remark?: string; + router?: string; /** - * 创建时间 + * 视图地址 */ - createTime?: Date; + viewPath?: string; /** - * 更新时间 + * 路由缓存 */ - updateTime?: Date; + keepAlive?: boolean; /** - * 任意键值 + * 是否显示 */ - [key: string]: any; - } - - interface DictTypeEntity { - /** - * 名称 - */ - name?: string; - - /** - * 标识 - */ - key?: string; + isShow?: boolean; /** * 创建时间 @@ -732,6 +502,236 @@ declare namespace Eps { [key: string]: any; } + interface SpaceTypeEntity { + /** + * 类别名称 + */ + name?: string; + + /** + * 父分类ID + */ + parentId?: number; + + /** + * 创建时间 + */ + createTime?: Date; + + /** + * 更新时间 + */ + updateTime?: Date; + + /** + * 任意键值 + */ + [key: string]: any; + } + + interface SpaceInfoEntity { + /** + * 地址 + */ + url?: string; + + /** + * 类型 + */ + type?: string; + + /** + * 分类ID + */ + classifyId?: number; + + /** + * 文件id + */ + fileId?: string; + + /** + * 文件名 + */ + name?: string; + + /** + * 文件大小 + */ + size?: number; + + /** + * 文档版本 + */ + version?: number; + + /** + * 文件位置 + */ + filePath?: string; + + /** + * 创建时间 + */ + createTime?: Date; + + /** + * 更新时间 + */ + updateTime?: Date; + + /** + * 任意键值 + */ + [key: string]: any; + } + + interface DictInfoEntity { + /** + * 类型ID + */ + typeId?: number; + + /** + * 父ID + */ + parentId?: number; + + /** + * 名称 + */ + name?: string; + + /** + * 值 + */ + value?: string; + + /** + * 排序 + */ + orderNum?: number; + + /** + * 备注 + */ + remark?: string; + + /** + * 创建时间 + */ + createTime?: Date; + + /** + * 更新时间 + */ + updateTime?: Date; + + /** + * 任意键值 + */ + [key: string]: any; + } + + interface DictTypeEntity { + /** + * 名称 + */ + name?: string; + + /** + * 标识 + */ + key?: string; + + /** + * 创建时间 + */ + createTime?: Date; + + /** + * 更新时间 + */ + updateTime?: Date; + + /** + * 任意键值 + */ + [key: string]: any; + } + + interface PluginInfoEntity { + /** + * 名称 + */ + name?: string; + + /** + * 简介 + */ + description?: string; + + /** + * 实例对象 + */ + key?: string; + + /** + * Hook + */ + hook?: string; + + /** + * 描述 + */ + readme?: string; + + /** + * 版本 + */ + version?: string; + + /** + * Logo(base64) + */ + logo?: string; + + /** + * 作者 + */ + author?: string; + + /** + * 状态 0-禁用 1-启用 + */ + status?: number; + + /** + * 插件的plugin.json + */ + pluginJson?: string; + + /** + * 配置 + */ + config?: string; + + /** + * 创建时间 + */ + createTime?: Date; + + /** + * 更新时间 + */ + updateTime?: Date; + + /** + * 任意键值 + */ + [key: string]: any; + } + type json = any; interface PagePagination { @@ -747,24 +747,9 @@ declare namespace Eps { [key: string]: any; } - interface PluginInfoPageResponse { + interface BaseSysUserPageResponse { pagination: PagePagination; - list: PluginInfoEntity[]; - } - - interface SpaceTypePageResponse { - pagination: PagePagination; - list: SpaceTypeEntity[]; - } - - interface SpaceInfoPageResponse { - pagination: PagePagination; - list: SpaceInfoEntity[]; - } - - interface BaseSysLogPageResponse { - pagination: PagePagination; - list: BaseSysLogEntity[]; + list: BaseSysUserEntity[]; } interface BaseSysRolePageResponse { @@ -772,14 +757,9 @@ declare namespace Eps { list: BaseSysRoleEntity[]; } - interface BaseSysUserPageResponse { + interface BaseSysLogPageResponse { pagination: PagePagination; - list: BaseSysUserEntity[]; - } - - interface BaseSysMenuPageResponse { - pagination: PagePagination; - list: BaseSysMenuEntity[]; + list: BaseSysLogEntity[]; } interface BaseSysParamPageResponse { @@ -787,14 +767,9 @@ declare namespace Eps { list: BaseSysParamEntity[]; } - interface DictInfoPageResponse { + interface BaseSysMenuPageResponse { pagination: PagePagination; - list: DictInfoEntity[]; - } - - interface DictTypePageResponse { - pagination: PagePagination; - list: DictTypeEntity[]; + list: BaseSysMenuEntity[]; } interface TaskInfoPageResponse { @@ -812,319 +787,143 @@ declare namespace Eps { list: UserInfoEntity[]; } - interface PluginInfo { + interface SpaceTypePageResponse { + pagination: PagePagination; + list: SpaceTypeEntity[]; + } + + interface SpaceInfoPageResponse { + pagination: PagePagination; + list: SpaceInfoEntity[]; + } + + interface DictInfoPageResponse { + pagination: PagePagination; + list: DictInfoEntity[]; + } + + interface DictTypePageResponse { + pagination: PagePagination; + list: DictTypeEntity[]; + } + + interface PluginInfoPageResponse { + pagination: PagePagination; + list: PluginInfoEntity[]; + } + + interface BaseOpen { /** - * 新增 + * 验证码 */ - add(data?: any): Promise; + captcha(data?: any): Promise; /** - * 查询 + * 刷新token */ - list(data?: any): Promise; + refreshToken(data?: any): Promise; /** - * 卸载插件 + * 实体信息与路径 */ - delete(data?: any): Promise; + eps(data?: any): Promise; /** - * 安装插件 + * 验证码类型 */ - install(data?: any): Promise; + captchaMode(data?: any): Promise; /** - * 信息 + * gen */ - info(data?: any): Promise; + gen(data?: any): Promise; /** - * 分页 + * 获得网页内容的参数值 */ - page(data?: any): Promise; + html(data?: any): Promise; /** - * 修改 + * check */ - update(data?: any): Promise; + check(data?: any): Promise; + + /** + * 登录 + */ + login(data?: any): Promise; /** * 权限标识 */ permission: { - add: string; - list: string; - delete: string; - install: string; - info: string; - page: string; - update: string; + captcha: string; + refreshToken: string; + eps: string; + captchaMode: string; + gen: string; + html: string; + check: string; + login: string; }; /** * 权限状态 */ _permission: { - add: boolean; - list: boolean; - delete: boolean; - install: boolean; - info: boolean; - page: boolean; - update: boolean; - }; - - request: Request; - } - - interface SpaceType { - /** - * 分页 - */ - page(data?: any): Promise; - - /** - * 删除 - */ - delete(data?: any): Promise; - - /** - * 新增 - */ - add(data?: any): Promise; - - /** - * 查询 - */ - list(data?: any): Promise; - - /** - * 修改 - */ - update(data?: any): Promise; - - /** - * 信息 - */ - info(data?: any): Promise; - - /** - * 权限标识 - */ - permission: { - page: string; - delete: string; - add: string; - list: string; - update: string; - info: string; - }; - - /** - * 权限状态 - */ - _permission: { - page: boolean; - delete: boolean; - add: boolean; - list: boolean; - update: boolean; - info: boolean; - }; - - request: Request; - } - - interface SpaceInfo { - /** - * 新增 - */ - add(data?: any): Promise; - - /** - * 信息 - */ - info(data?: any): Promise; - - /** - * 删除 - */ - delete(data?: any): Promise; - - /** - * 分页 - */ - page(data?: any): Promise; - - /** - * 修改 - */ - update(data?: any): Promise; - - /** - * 查询 - */ - list(data?: any): Promise; - - /** - * 权限标识 - */ - permission: { - add: string; - info: string; - delete: string; - page: string; - update: string; - list: string; - }; - - /** - * 权限状态 - */ - _permission: { - add: boolean; - info: boolean; - delete: boolean; - page: boolean; - update: boolean; - list: boolean; - }; - - request: Request; - } - - interface BaseSysLog { - /** - * 获得日志报错时间 - */ - getKeep(data?: any): Promise; - - /** - * 分页 - */ - page(data?: any): Promise; - - /** - * 清理日志 - */ - clear(data?: any): Promise; - - /** - * 设置日志保存时间 - */ - setKeep(data?: any): Promise; - - /** - * 权限标识 - */ - permission: { getKeep: string; page: string; clear: string; setKeep: string }; - - /** - * 权限状态 - */ - _permission: { getKeep: boolean; page: boolean; clear: boolean; setKeep: boolean }; - - request: Request; - } - - interface BaseSysRole { - /** - * 删除 - */ - delete(data?: any): Promise; - - /** - * 信息 - */ - info(data?: any): Promise; - - /** - * 分页 - */ - page(data?: any): Promise; - - /** - * 修改 - */ - update(data?: any): Promise; - - /** - * 查询 - */ - list(data?: any): Promise; - - /** - * 新增 - */ - add(data?: any): Promise; - - /** - * 权限标识 - */ - permission: { - delete: string; - info: string; - page: string; - update: string; - list: string; - add: string; - }; - - /** - * 权限状态 - */ - _permission: { - delete: boolean; - info: boolean; - page: boolean; - update: boolean; - list: boolean; - add: boolean; + captcha: boolean; + refreshToken: boolean; + eps: boolean; + captchaMode: boolean; + gen: boolean; + html: boolean; + check: boolean; + login: boolean; }; request: Request; } interface BaseSysDepartment { - /** - * 查询 - */ - list(data?: any): Promise; - /** * 排序 */ order(data?: any): Promise; /** - * 修改 + * 查询 */ - update(data?: any): Promise; - - /** - * 新增 - */ - add(data?: any): Promise; + list(data?: any): Promise; /** * 删除 */ delete(data?: any): Promise; + /** + * 新增 + */ + add(data?: any): Promise; + + /** + * 修改 + */ + update(data?: any): Promise; + /** * 权限标识 */ - permission: { list: string; order: string; update: string; add: string; delete: string }; + permission: { order: string; list: string; delete: string; add: string; update: string }; /** * 权限状态 */ _permission: { - list: boolean; order: boolean; - update: boolean; - add: boolean; + list: boolean; delete: boolean; + add: boolean; + update: boolean; }; request: Request; @@ -1137,9 +936,9 @@ declare namespace Eps { delete(data?: any): Promise; /** - * 移动部门 + * 新增 */ - move(data?: any): Promise; + add(data?: any): Promise; /** * 信息 @@ -1157,20 +956,20 @@ declare namespace Eps { page(data?: any): Promise; /** - * 新增 + * 移动部门 */ - add(data?: any): Promise; + move(data?: any): Promise; /** * 权限标识 */ permission: { delete: string; - move: string; + add: string; info: string; update: string; page: string; - add: string; + move: string; }; /** @@ -1178,26 +977,118 @@ declare namespace Eps { */ _permission: { delete: boolean; - move: boolean; + add: boolean; info: boolean; update: boolean; page: boolean; - add: boolean; + move: boolean; }; request: Request; } - interface BaseSysMenu { + interface BaseSysRole { + /** + * 删除 + */ + delete(data?: any): Promise; + + /** + * 新增 + */ + add(data?: any): Promise; + /** * 查询 */ - list(data?: any): Promise; + list(data?: any): Promise; /** - * 导入 + * 修改 */ - import(data?: any): Promise; + update(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; + + /** + * 信息 + */ + info(data?: any): Promise; + + /** + * 权限标识 + */ + permission: { + delete: string; + add: string; + list: string; + update: string; + page: string; + info: string; + }; + + /** + * 权限状态 + */ + _permission: { + delete: boolean; + add: boolean; + list: boolean; + update: boolean; + page: boolean; + info: boolean; + }; + + request: Request; + } + + interface BaseSysLog { + /** + * 获得日志报错时间 + */ + getKeep(data?: any): Promise; + + /** + * 设置日志保存时间 + */ + setKeep(data?: any): Promise; + + /** + * 清理日志 + */ + clear(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; + + /** + * 权限标识 + */ + permission: { getKeep: string; setKeep: string; clear: string; page: string }; + + /** + * 权限状态 + */ + _permission: { getKeep: boolean; setKeep: boolean; clear: boolean; page: boolean }; + + request: Request; + } + + interface BaseSysParam { + /** + * 信息 + */ + info(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; /** * 删除 @@ -1205,9 +1096,62 @@ declare namespace Eps { delete(data?: any): Promise; /** - * 创建代码 + * 新增 */ - create(data?: any): Promise; + add(data?: any): Promise; + + /** + * 根据键返回网页的参数值 + */ + html(data?: any): Promise; + + /** + * 修改 + */ + update(data?: any): Promise; + + /** + * 权限标识 + */ + permission: { + info: string; + page: string; + delete: string; + add: string; + html: string; + update: string; + }; + + /** + * 权限状态 + */ + _permission: { + info: boolean; + page: boolean; + delete: boolean; + add: boolean; + html: boolean; + update: boolean; + }; + + request: Request; + } + + interface BaseSysMenu { + /** + * 新增 + */ + add(data?: any): Promise; + + /** + * 导出 + */ + export(data?: any): Promise; + + /** + * 修改 + */ + update(data?: any): Promise; /** * 信息 @@ -1220,73 +1164,9 @@ declare namespace Eps { page(data?: any): Promise; /** - * 修改 + * 创建代码 */ - update(data?: any): Promise; - - /** - * 导出 - */ - export(data?: any): Promise; - - /** - * 新增 - */ - add(data?: any): Promise; - - /** - * 权限标识 - */ - permission: { - list: string; - import: string; - delete: string; - create: string; - info: string; - page: string; - update: string; - export: string; - add: string; - }; - - /** - * 权限状态 - */ - _permission: { - list: boolean; - import: boolean; - delete: boolean; - create: boolean; - info: boolean; - page: boolean; - update: boolean; - export: boolean; - add: boolean; - }; - - request: Request; - } - - interface BaseSysParam { - /** - * 修改 - */ - update(data?: any): Promise; - - /** - * 根据键返回网页的参数值 - */ - html(data?: any): Promise; - - /** - * 新增 - */ - add(data?: any): Promise; - - /** - * 信息 - */ - info(data?: any): Promise; + create(data?: any): Promise; /** * 删除 @@ -1294,32 +1174,43 @@ declare namespace Eps { delete(data?: any): Promise; /** - * 分页 + * 导入 */ - page(data?: any): Promise; + import(data?: any): Promise; + + /** + * 查询 + */ + list(data?: any): Promise; /** * 权限标识 */ permission: { - update: string; - html: string; add: string; + export: string; + update: string; info: string; - delete: string; page: string; + create: string; + delete: string; + import: string; + list: string; }; /** * 权限状态 */ _permission: { - update: boolean; - html: boolean; add: boolean; + export: boolean; + update: boolean; info: boolean; - delete: boolean; page: boolean; + create: boolean; + delete: boolean; + import: boolean; + list: boolean; }; request: Request; @@ -1327,9 +1218,29 @@ declare namespace Eps { interface BaseComm { /** - * 实体信息与路径 + * 退出 */ - eps(data?: any): Promise; + logout(data?: any): Promise; + + /** + * 修改个人信息 + */ + personUpdate(data?: any): Promise; + + /** + * 个人信息 + */ + person(data?: any): Promise; + + /** + * 文件上传模式 + */ + uploadMode(data?: any): Promise; + + /** + * 编程 + */ + program(data?: any): Promise; /** * 权限与菜单 @@ -1341,284 +1252,62 @@ declare namespace Eps { */ upload(data?: any): Promise; - /** - * 编程 - */ - program(data?: any): Promise; - - /** - * 文件上传模式 - */ - uploadMode(data?: any): Promise; - - /** - * 个人信息 - */ - person(data?: any): Promise; - - /** - * 修改个人信息 - */ - personUpdate(data?: any): Promise; - - /** - * 退出 - */ - logout(data?: any): Promise; - - /** - * 权限标识 - */ - permission: { - eps: string; - permmenu: string; - upload: string; - program: string; - uploadMode: string; - person: string; - personUpdate: string; - logout: string; - }; - - /** - * 权限状态 - */ - _permission: { - eps: boolean; - permmenu: boolean; - upload: boolean; - program: boolean; - uploadMode: boolean; - person: boolean; - personUpdate: boolean; - logout: boolean; - }; - - request: Request; - } - - interface BaseOpen { - /** - * 登录 - */ - login(data?: any): Promise; - - /** - * gen - */ - gen(data?: any): Promise; - - /** - * 获得网页内容的参数值 - */ - html(data?: any): Promise; - - /** - * 验证码类型 - */ - captchaMode(data?: any): Promise; - - /** - * check - */ - check(data?: any): Promise; - /** * 实体信息与路径 */ eps(data?: any): Promise; - /** - * 刷新token - */ - refreshToken(data?: any): Promise; - - /** - * 验证码 - */ - captcha(data?: any): Promise; - /** * 权限标识 */ permission: { - login: string; - gen: string; - html: string; - captchaMode: string; - check: string; + logout: string; + personUpdate: string; + person: string; + uploadMode: string; + program: string; + permmenu: string; + upload: string; eps: string; - refreshToken: string; - captcha: string; }; /** * 权限状态 */ _permission: { - login: boolean; - gen: boolean; - html: boolean; - captchaMode: boolean; - check: boolean; + logout: boolean; + personUpdate: boolean; + person: boolean; + uploadMode: boolean; + program: boolean; + permmenu: boolean; + upload: boolean; eps: boolean; - refreshToken: boolean; - captcha: boolean; }; request: Request; } interface BaseCoding { - /** - * 获取模块目录结构 - */ - getModuleTree(data?: any): Promise; - /** * 创建代码 */ createCode(data?: any): Promise; /** - * 权限标识 + * 获取模块目录结构 */ - permission: { getModuleTree: string; createCode: string }; - - /** - * 权限状态 - */ - _permission: { getModuleTree: boolean; createCode: boolean }; - - request: Request; - } - - interface DictInfo { - /** - * 修改 - */ - update(data?: any): Promise; - - /** - * 获得字典数据 - */ - types(data?: any): Promise; - - /** - * 查询 - */ - list(data?: any): Promise; - - /** - * 删除 - */ - delete(data?: any): Promise; - - /** - * 获得字典数据 - */ - data(data?: any): Promise; - - /** - * 信息 - */ - info(data?: any): Promise; - - /** - * 分页 - */ - page(data?: any): Promise; - - /** - * 新增 - */ - add(data?: any): Promise; + getModuleTree(data?: any): Promise; /** * 权限标识 */ - permission: { - update: string; - types: string; - list: string; - delete: string; - data: string; - info: string; - page: string; - add: string; - }; + permission: { createCode: string; getModuleTree: string }; /** * 权限状态 */ - _permission: { - update: boolean; - types: boolean; - list: boolean; - delete: boolean; - data: boolean; - info: boolean; - page: boolean; - add: boolean; - }; - - request: Request; - } - - interface DictType { - /** - * 信息 - */ - info(data?: any): Promise; - - /** - * 分页 - */ - page(data?: any): Promise; - - /** - * 删除 - */ - delete(data?: any): Promise; - - /** - * 查询 - */ - list(data?: any): Promise; - - /** - * 修改 - */ - update(data?: any): Promise; - - /** - * 新增 - */ - add(data?: any): Promise; - - /** - * 权限标识 - */ - permission: { - info: string; - page: string; - delete: string; - list: string; - update: string; - add: string; - }; - - /** - * 权限状态 - */ - _permission: { - info: boolean; - page: boolean; - delete: boolean; - list: boolean; - update: boolean; - add: boolean; - }; + _permission: { createCode: boolean; getModuleTree: boolean }; request: Request; } @@ -1629,6 +1318,36 @@ declare namespace Eps { */ start(data?: any): Promise; + /** + * 执行一次 + */ + once(data?: any): Promise; + + /** + * 信息 + */ + info(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; + + /** + * 停止任务 + */ + stop(data?: any): Promise; + + /** + * 修改 + */ + update(data?: any): Promise; + + /** + * 新增 + */ + add(data?: any): Promise; + /** * 任务日志 */ @@ -1639,49 +1358,19 @@ declare namespace Eps { */ delete(data?: any): Promise; - /** - * 信息 - */ - info(data?: any): Promise; - - /** - * 新增 - */ - add(data?: any): Promise; - - /** - * 停止任务 - */ - stop(data?: any): Promise; - - /** - * 分页 - */ - page(data?: any): Promise; - - /** - * 执行一次 - */ - once(data?: any): Promise; - - /** - * 修改 - */ - update(data?: any): Promise; - /** * 权限标识 */ permission: { start: string; + once: string; + info: string; + page: string; + stop: string; + update: string; + add: string; log: string; delete: string; - info: string; - add: string; - stop: string; - page: string; - once: string; - update: string; }; /** @@ -1689,39 +1378,34 @@ declare namespace Eps { */ _permission: { start: boolean; + once: boolean; + info: boolean; + page: boolean; + stop: boolean; + update: boolean; + add: boolean; log: boolean; delete: boolean; - info: boolean; - add: boolean; - stop: boolean; - page: boolean; - once: boolean; - update: boolean; }; request: Request; } interface RecycleData { - /** - * 新增 - */ - add(data?: any): Promise; - /** * 查询 */ list(data?: any): Promise; /** - * 恢复数据 + * 新增 */ - restore(data?: any): Promise; + add(data?: any): Promise; /** - * 删除 + * 修改 */ - delete(data?: any): Promise; + update(data?: any): Promise; /** * 信息 @@ -1734,34 +1418,39 @@ declare namespace Eps { page(data?: any): Promise; /** - * 修改 + * 删除 */ - update(data?: any): Promise; + delete(data?: any): Promise; + + /** + * 恢复数据 + */ + restore(data?: any): Promise; /** * 权限标识 */ permission: { - add: string; list: string; - restore: string; - delete: string; + add: string; + update: string; info: string; page: string; - update: string; + delete: string; + restore: string; }; /** * 权限状态 */ _permission: { - add: boolean; list: boolean; - restore: boolean; - delete: boolean; + add: boolean; + update: boolean; info: boolean; page: boolean; - update: boolean; + delete: boolean; + restore: boolean; }; request: Request; @@ -1774,15 +1463,121 @@ declare namespace Eps { page(data?: any): Promise; /** - * 删除 + * 新增 */ - delete(data?: any): Promise; + add(data?: any): Promise; + + /** + * 修改 + */ + update(data?: any): Promise; /** * 查询 */ list(data?: any): Promise; + /** + * 删除 + */ + delete(data?: any): Promise; + + /** + * 信息 + */ + info(data?: any): Promise; + + /** + * 权限标识 + */ + permission: { + page: string; + add: string; + update: string; + list: string; + delete: string; + info: string; + }; + + /** + * 权限状态 + */ + _permission: { + page: boolean; + add: boolean; + update: boolean; + list: boolean; + delete: boolean; + info: boolean; + }; + + request: Request; + } + + interface SpaceType { + /** + * 信息 + */ + info(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; + + /** + * 修改 + */ + update(data?: any): Promise; + + /** + * 查询 + */ + list(data?: any): Promise; + + /** + * 新增 + */ + add(data?: any): Promise; + + /** + * 删除 + */ + delete(data?: any): Promise; + + /** + * 权限标识 + */ + permission: { + info: string; + page: string; + update: string; + list: string; + add: string; + delete: string; + }; + + /** + * 权限状态 + */ + _permission: { + info: boolean; + page: boolean; + update: boolean; + list: boolean; + add: boolean; + delete: boolean; + }; + + request: Request; + } + + interface SpaceInfo { + /** + * 查询 + */ + list(data?: any): Promise; + /** * 修改 */ @@ -1791,7 +1586,17 @@ declare namespace Eps { /** * 信息 */ - info(data?: any): Promise; + info(data?: any): Promise; + + /** + * 删除 + */ + delete(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; /** * 新增 @@ -1802,11 +1607,11 @@ declare namespace Eps { * 权限标识 */ permission: { - page: string; - delete: string; list: string; update: string; info: string; + delete: string; + page: string; add: string; }; @@ -1814,17 +1619,212 @@ declare namespace Eps { * 权限状态 */ _permission: { - page: boolean; - delete: boolean; list: boolean; update: boolean; info: boolean; + delete: boolean; + page: boolean; add: boolean; }; request: Request; } + interface DictInfo { + /** + * 修改 + */ + update(data?: any): Promise; + + /** + * 新增 + */ + add(data?: any): Promise; + + /** + * 信息 + */ + info(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; + + /** + * 获得字典数据 + */ + data(data?: any): Promise; + + /** + * 删除 + */ + delete(data?: any): Promise; + + /** + * 获得字典数据 + */ + types(data?: any): Promise; + + /** + * 查询 + */ + list(data?: any): Promise; + + /** + * 权限标识 + */ + permission: { + update: string; + add: string; + info: string; + page: string; + data: string; + delete: string; + types: string; + list: string; + }; + + /** + * 权限状态 + */ + _permission: { + update: boolean; + add: boolean; + info: boolean; + page: boolean; + data: boolean; + delete: boolean; + types: boolean; + list: boolean; + }; + + request: Request; + } + + interface DictType { + /** + * 新增 + */ + add(data?: any): Promise; + + /** + * 修改 + */ + update(data?: any): Promise; + + /** + * 查询 + */ + list(data?: any): Promise; + + /** + * 删除 + */ + delete(data?: any): Promise; + + /** + * 信息 + */ + info(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; + + /** + * 权限标识 + */ + permission: { + add: string; + update: string; + list: string; + delete: string; + info: string; + page: string; + }; + + /** + * 权限状态 + */ + _permission: { + add: boolean; + update: boolean; + list: boolean; + delete: boolean; + info: boolean; + page: boolean; + }; + + request: Request; + } + + interface PluginInfo { + /** + * 新增 + */ + add(data?: any): Promise; + + /** + * 修改 + */ + update(data?: any): Promise; + + /** + * 分页 + */ + page(data?: any): Promise; + + /** + * 信息 + */ + info(data?: any): Promise; + + /** + * 安装插件 + */ + install(data?: any): Promise; + + /** + * 卸载插件 + */ + delete(data?: any): Promise; + + /** + * 查询 + */ + list(data?: any): Promise; + + /** + * 权限标识 + */ + permission: { + add: string; + update: string; + page: string; + info: string; + install: string; + delete: string; + list: string; + }; + + /** + * 权限状态 + */ + _permission: { + add: boolean; + update: boolean; + page: boolean; + info: boolean; + install: boolean; + delete: boolean; + list: boolean; + }; + + request: Request; + } + interface RequestOptions { url: string; method?: "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "CONNECT"; @@ -1842,24 +1842,24 @@ declare namespace Eps { type Service = { request: Request; - plugin: { info: PluginInfo }; - space: { type: SpaceType; info: SpaceInfo }; base: { + open: BaseOpen; sys: { - log: BaseSysLog; - role: BaseSysRole; department: BaseSysDepartment; user: BaseSysUser; - menu: BaseSysMenu; + role: BaseSysRole; + log: BaseSysLog; param: BaseSysParam; + menu: BaseSysMenu; }; comm: BaseComm; - open: BaseOpen; coding: BaseCoding; }; - dict: { info: DictInfo; type: DictType }; task: { info: TaskInfo }; recycle: { data: RecycleData }; user: { info: UserInfo }; + space: { type: SpaceType; info: SpaceInfo }; + dict: { info: DictInfo; type: DictType }; + plugin: { info: PluginInfo }; }; } diff --git a/build/cool/eps.json b/build/cool/eps.json index 893293aa..43c04aa7 100644 --- a/build/cool/eps.json +++ b/build/cool/eps.json @@ -1 +1 @@ -[{"prefix":"/admin/plugin/info","name":"PluginInfoEntity","api":[{"method":"post","path":"/add"},{"method":"post","path":"/list"},{"method":"post","path":"/delete"},{"method":"post","path":"/install"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/update"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/space/type","name":"SpaceTypeEntity","api":[{"method":"post","path":"/page"},{"method":"post","path":"/delete"},{"method":"post","path":"/add"},{"method":"post","path":"/list"},{"method":"post","path":"/update"},{"method":"get","path":"/info"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/space/info","name":"SpaceInfoEntity","api":[{"method":"post","path":"/add"},{"method":"get","path":"/info"},{"method":"post","path":"/delete"},{"method":"post","path":"/page"},{"method":"post","path":"/update"},{"method":"post","path":"/list"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/log","name":"BaseSysLogEntity","api":[{"method":"post","path":"/getKeep"},{"method":"post","path":"/page"},{"method":"post","path":"/clear"},{"method":"post","path":"/setKeep"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/role","name":"BaseSysRoleEntity","api":[{"method":"post","path":"/delete"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/update"},{"method":"post","path":"/list"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/comm","name":"","api":[{"method":"get","path":"/eps"},{"method":"get","path":"/permmenu"},{"method":"post","path":"/upload"},{"method":"get","path":"/program"},{"method":"get","path":"/uploadMode"},{"method":"get","path":"/person"},{"method":"post","path":"/personUpdate"},{"method":"post","path":"/logout"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/department","name":"BaseSysDepartmentEntity","api":[{"method":"post","path":"/list"},{"method":"post","path":"/order"},{"method":"post","path":"/update"},{"method":"post","path":"/add"},{"method":"post","path":"/delete"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/user","name":"BaseSysUserEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/move"},{"method":"get","path":"/info"},{"method":"post","path":"/update"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/menu","name":"BaseSysMenuEntity","api":[{"method":"post","path":"/list"},{"method":"post","path":"/import"},{"method":"post","path":"/delete"},{"method":"post","path":"/create"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/update"},{"method":"post","path":"/export"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/open","name":"","api":[{"method":"post","path":"/login"},{"method":"get","path":"/gen"},{"method":"get","path":"/html"},{"method":"get","path":"/captchaMode"},{"method":"post","path":"/check"},{"method":"get","path":"/eps"},{"method":"get","path":"/refreshToken"},{"method":"get","path":"/captcha"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/coding","name":"","api":[{"method":"get","path":"/getModuleTree"},{"method":"post","path":"/createCode"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/param","name":"BaseSysParamEntity","api":[{"method":"post","path":"/update"},{"method":"get","path":"/html"},{"method":"post","path":"/add"},{"method":"get","path":"/info"},{"method":"post","path":"/delete"},{"method":"post","path":"/page"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/dict/info","name":"DictInfoEntity","api":[{"method":"post","path":"/update"},{"method":"get","path":"/types"},{"method":"post","path":"/list"},{"method":"post","path":"/delete"},{"method":"post","path":"/data"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/dict/type","name":"DictTypeEntity","api":[{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/delete"},{"method":"post","path":"/list"},{"method":"post","path":"/update"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/task/info","name":"TaskInfoEntity","api":[{"method":"post","path":"/start"},{"method":"get","path":"/log"},{"method":"post","path":"/delete"},{"method":"get","path":"/info"},{"method":"post","path":"/add"},{"method":"post","path":"/stop"},{"method":"post","path":"/page"},{"method":"post","path":"/once"},{"method":"post","path":"/update"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/recycle/data","name":"RecycleDataEntity","api":[{"method":"post","path":"/add"},{"method":"post","path":"/list"},{"method":"post","path":"/restore"},{"method":"post","path":"/delete"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/update"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/user/info","name":"UserInfoEntity","api":[{"method":"post","path":"/page"},{"method":"post","path":"/delete"},{"method":"post","path":"/list"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}}] \ No newline at end of file +[{"prefix":"/admin/base/open","name":"","api":[{"method":"get","path":"/captcha"},{"method":"get","path":"/refreshToken"},{"method":"get","path":"/eps"},{"method":"get","path":"/captchaMode"},{"method":"get","path":"/gen"},{"method":"get","path":"/html"},{"method":"post","path":"/check"},{"method":"post","path":"/login"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/department","name":"BaseSysDepartmentEntity","api":[{"method":"post","path":"/order"},{"method":"post","path":"/list"},{"method":"post","path":"/delete"},{"method":"post","path":"/add"},{"method":"post","path":"/update"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/user","name":"BaseSysUserEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/add"},{"method":"get","path":"/info"},{"method":"post","path":"/update"},{"method":"post","path":"/page"},{"method":"post","path":"/move"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/role","name":"BaseSysRoleEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/add"},{"method":"post","path":"/list"},{"method":"post","path":"/update"},{"method":"post","path":"/page"},{"method":"get","path":"/info"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/log","name":"BaseSysLogEntity","api":[{"method":"post","path":"/getKeep"},{"method":"post","path":"/setKeep"},{"method":"post","path":"/clear"},{"method":"post","path":"/page"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/param","name":"BaseSysParamEntity","api":[{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/delete"},{"method":"post","path":"/add"},{"method":"get","path":"/html"},{"method":"post","path":"/update"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/comm","name":"","api":[{"method":"post","path":"/logout"},{"method":"post","path":"/personUpdate"},{"method":"get","path":"/person"},{"method":"get","path":"/uploadMode"},{"method":"get","path":"/program"},{"method":"get","path":"/permmenu"},{"method":"post","path":"/upload"},{"method":"get","path":"/eps"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/menu","name":"BaseSysMenuEntity","api":[{"method":"post","path":"/add"},{"method":"post","path":"/export"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/create"},{"method":"post","path":"/delete"},{"method":"post","path":"/import"},{"method":"post","path":"/list"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/coding","name":"","api":[{"method":"post","path":"/createCode"},{"method":"get","path":"/getModuleTree"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/task/info","name":"TaskInfoEntity","api":[{"method":"post","path":"/start"},{"method":"post","path":"/once"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/stop"},{"method":"post","path":"/update"},{"method":"post","path":"/add"},{"method":"get","path":"/log"},{"method":"post","path":"/delete"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/recycle/data","name":"RecycleDataEntity","api":[{"method":"post","path":"/list"},{"method":"post","path":"/add"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/delete"},{"method":"post","path":"/restore"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/user/info","name":"UserInfoEntity","api":[{"method":"post","path":"/page"},{"method":"post","path":"/add"},{"method":"post","path":"/update"},{"method":"post","path":"/list"},{"method":"post","path":"/delete"},{"method":"get","path":"/info"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/space/type","name":"SpaceTypeEntity","api":[{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/update"},{"method":"post","path":"/list"},{"method":"post","path":"/add"},{"method":"post","path":"/delete"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/space/info","name":"SpaceInfoEntity","api":[{"method":"post","path":"/list"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/delete"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/dict/info","name":"DictInfoEntity","api":[{"method":"post","path":"/update"},{"method":"post","path":"/add"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/data"},{"method":"post","path":"/delete"},{"method":"get","path":"/types"},{"method":"post","path":"/list"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/dict/type","name":"DictTypeEntity","api":[{"method":"post","path":"/add"},{"method":"post","path":"/update"},{"method":"post","path":"/list"},{"method":"post","path":"/delete"},{"method":"get","path":"/info"},{"method":"post","path":"/page"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/plugin/info","name":"PluginInfoEntity","api":[{"method":"post","path":"/add"},{"method":"post","path":"/update"},{"method":"post","path":"/page"},{"method":"get","path":"/info"},{"method":"post","path":"/install"},{"method":"post","path":"/delete"},{"method":"post","path":"/list"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}}] \ No newline at end of file