diff --git a/build/cool/eps.d.ts b/build/cool/eps.d.ts deleted file mode 100644 index 6a91aa8..0000000 --- a/build/cool/eps.d.ts +++ /dev/null @@ -1,2253 +0,0 @@ -declare namespace Eps { - interface BaseSysDepartmentEntity { - /** - * ID - */ - id?: number; - /** - * 部门名称 - */ - name?: string; - /** - * 上级部门ID - */ - parentId?: number; - /** - * 排序 - */ - orderNum?: number; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface BaseSysLogEntity { - /** - * ID - */ - id?: number; - /** - * 用户ID - */ - userId?: number; - /** - * 行为 - */ - action?: string; - /** - * ip - */ - ip?: string; - /** - * ip地址 - */ - ipAddr?: string; - /** - * 参数 - */ - params?: json; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface BaseSysMenuEntity { - /** - * ID - */ - id?: number; - /** - * 父菜单ID - */ - parentId?: number; - /** - * 菜单名称 - */ - name?: string; - /** - * 菜单地址 - */ - router?: string; - /** - * 权限标识 - */ - perms?: string; - /** - * 类型 0-目录 1-菜单 2-按钮 - */ - type?: number; - /** - * 图标 - */ - icon?: string; - /** - * 排序 - */ - orderNum?: number; - /** - * 视图地址 - */ - viewPath?: string; - /** - * 路由缓存 - */ - keepAlive?: boolean; - /** - * 是否显示 - */ - isShow?: boolean; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface BaseSysParamEntity { - /** - * ID - */ - id?: number; - /** - * 键 - */ - keyName?: string; - /** - * 名称 - */ - name?: string; - /** - * 数据 - */ - data?: string; - /** - * 数据类型 0-字符串 1-富文本 2-文件 - */ - dataType?: number; - /** - * 备注 - */ - remark?: string; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface BaseSysRoleEntity { - /** - * ID - */ - id?: number; - /** - * 用户ID - */ - userId?: string; - /** - * 名称 - */ - name?: string; - /** - * 角色标签 - */ - label?: string; - /** - * 备注 - */ - remark?: string; - /** - * 数据权限是否关联上下级 - */ - relevance?: boolean; - /** - * 菜单权限 - */ - menuIdList?: json; - /** - * 部门权限 - */ - departmentIdList?: json; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface BaseSysUserEntity { - /** - * ID - */ - id?: number; - /** - * 部门ID - */ - departmentId?: number; - /** - * 姓名 - */ - name?: string; - /** - * 用户名 - */ - username?: string; - /** - * 密码 - */ - password?: string; - /** - * 密码版本, 作用是改完密码,让原来的token失效 - */ - passwordV?: number; - /** - * 昵称 - */ - nickName?: string; - /** - * 头像 - */ - headImg?: string; - /** - * 手机 - */ - phone?: string; - /** - * 邮箱 - */ - email?: string; - /** - * 备注 - */ - remark?: string; - /** - * 状态 0-禁用 1-启用 - */ - status?: number; - /** - * socketId - */ - socketId?: string; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface DemoGoodsEntity { - /** - * ID - */ - id?: number; - /** - * 标题 - */ - title?: string; - /** - * 价格 - */ - price?: number; - /** - * 描述 - */ - description?: string; - /** - * 主图 - */ - mainImage?: string; - /** - * 示例图 - */ - exampleImages?: json; - /** - * 库存 - */ - stock?: number; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface DictInfoEntity { - /** - * ID - */ - id?: number; - /** - * 类型ID - */ - typeId?: number; - /** - * 名称 - */ - name?: string; - /** - * 值 - */ - value?: string; - /** - * 排序 - */ - orderNum?: number; - /** - * 备注 - */ - remark?: string; - /** - * 父ID - */ - parentId?: number; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface DictTypeEntity { - /** - * ID - */ - id?: number; - /** - * 名称 - */ - name?: string; - /** - * 标识 - */ - key?: string; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface PluginInfoEntity { - /** - * ID - */ - id?: number; - /** - * 名称 - */ - name?: string; - /** - * 简介 - */ - description?: string; - /** - * Key名 - */ - keyName?: string; - /** - * Hook - */ - hook?: string; - /** - * 描述 - */ - readme?: string; - /** - * 版本 - */ - version?: string; - /** - * Logo(base64) - */ - logo?: string; - /** - * 作者 - */ - author?: string; - /** - * 状态 0-禁用 1-启用 - */ - status?: number; - /** - * 内容 - */ - content?: json; - /** - * ts内容 - */ - tsContent?: json; - /** - * 插件的plugin.json - */ - pluginJson?: json; - /** - * 配置 - */ - config?: json; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface RecycleDataEntity { - /** - * ID - */ - id?: number; - /** - * 表 - */ - entityInfo?: json; - /** - * 操作人 - */ - userId?: number; - /** - * 被删除的数据 - */ - data?: json; - /** - * 请求的接口 - */ - url?: string; - /** - * 请求参数 - */ - params?: json; - /** - * 删除数据条数 - */ - count?: number; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface SpaceInfoEntity { - /** - * ID - */ - id?: number; - /** - * 地址 - */ - url?: string; - /** - * 类型 - */ - type?: string; - /** - * 分类ID - */ - classifyId?: number; - /** - * 文件id - */ - fileId?: string; - /** - * 文件名 - */ - name?: string; - /** - * 文件大小 - */ - size?: number; - /** - * 文档版本 - */ - version?: number; - /** - * 文件位置 - */ - key?: string; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface SpaceTypeEntity { - /** - * ID - */ - id?: number; - /** - * 类别名称 - */ - name?: string; - /** - * 父分类ID - */ - parentId?: number; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface TaskInfoEntity { - /** - * ID - */ - id?: number; - /** - * 任务ID - */ - jobId?: string; - /** - * 任务配置 - */ - repeatConf?: string; - /** - * 名称 - */ - name?: string; - /** - * cron - */ - cron?: string; - /** - * 最大执行次数 不传为无限次 - */ - limit?: number; - /** - * 每间隔多少毫秒执行一次 如果cron设置了 这项设置就无效 - */ - every?: number; - /** - * 备注 - */ - remark?: string; - /** - * 状态 0-停止 1-运行 - */ - status?: number; - /** - * 开始时间 - */ - startDate?: Date; - /** - * 结束时间 - */ - endDate?: Date; - /** - * 数据 - */ - data?: string; - /** - * 执行的service实例ID - */ - service?: string; - /** - * 状态 0-系统 1-用户 - */ - type?: number; - /** - * 下一次执行时间 - */ - nextRunTime?: Date; - /** - * 状态 0-cron 1-时间间隔 - */ - taskType?: number; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface UserAddressEntity { - /** - * ID - */ - id?: number; - /** - * 用户ID - */ - userId?: number; - /** - * 联系人 - */ - contact?: string; - /** - * 手机号 - */ - phone?: string; - /** - * 省 - */ - province?: string; - /** - * 市 - */ - city?: string; - /** - * 区 - */ - district?: string; - /** - * 地址 - */ - address?: string; - /** - * 是否默认 - */ - isDefault?: boolean; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface UserCouponEntity { - /** - * ID - */ - id?: number; - /** - * 标题 - */ - title?: string; - /** - * 折扣 - */ - discount?: number; - /** - * 有效期 - */ - validity?: Date; - /** - * 状态 0-无效 1-有效 - */ - status?: number; - /** - * 类型 0-普通 1-特殊 - */ - type?: number; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface UserInfoEntity { - /** - * ID - */ - id?: number; - /** - * 登录唯一ID - */ - unionid?: string; - /** - * 头像 - */ - avatarUrl?: string; - /** - * 昵称 - */ - nickName?: string; - /** - * 手机号 - */ - phone?: string; - /** - * 性别 0-未知 1-男 2-女 - */ - gender?: number; - /** - * 状态 0-禁用 1-正常 2-已注销 - */ - status?: number; - /** - * 登录方式 0-小程序 1-公众号 2-H5 - */ - loginType?: number; - /** - * 密码 - */ - password?: string; - /** - * 创建时间 - */ - createTime?: Date; - /** - * 更新时间 - */ - updateTime?: Date; - /** - * 任意键值 - */ - [key: string]: any; - } - - interface ChatMessageEntity { - /** - * 任意键值 - */ - [key: string]: any; - } - - interface ChatSessionEntity { - /** - * 任意键值 - */ - [key: string]: any; - } - - interface TestEntity { - /** - * 任意键值 - */ - [key: string]: any; - } - - interface DemoUserFollowEntity { - /** - * 任意键值 - */ - [key: string]: any; - } - - interface DemoUserInfoEntity { - /** - * 任意键值 - */ - [key: string]: any; - } - interface BaseComm { - /** - * 修改个人信息 - */ - personUpdate(data?: any): Promise; - /** - * 文件上传模式 - */ - uploadMode(data?: any): Promise; - /** - * 权限与菜单 - */ - permmenu(data?: any): Promise; - /** - * 个人信息 - */ - person(data?: any): Promise; - /** - * 文件上传 - */ - upload(data?: any): Promise; - /** - * 退出 - */ - logout(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - personUpdate: string; - uploadMode: string; - permmenu: string; - person: string; - upload: string; - logout: string; - }; - /** - * 权限状态 - */ - _permission: { - personUpdate: boolean; - uploadMode: boolean; - permmenu: boolean; - person: boolean; - upload: boolean; - logout: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface BaseOpen { - /** - * 刷新token - */ - refreshToken(data?: any): Promise; - /** - * 验证码 - */ - captcha(data?: any): Promise; - /** - * 登录 - */ - login(data?: any): Promise; - /** - * 获得网页内容的参数值 - */ - html(data?: any): Promise; - /** - * 实体信息与路径 - */ - eps(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - refreshToken: string; - captcha: string; - login: string; - html: string; - eps: string; - }; - /** - * 权限状态 - */ - _permission: { - refreshToken: boolean; - captcha: boolean; - login: boolean; - html: boolean; - eps: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface BaseSysDepartment { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 排序 - */ - order(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { delete: string; update: string; order: string; list: string; add: string }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - order: boolean; - list: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface BaseSysLog { - /** - * 日志保存时间 - */ - setKeep(data?: any): Promise; - /** - * 获得日志保存时间 - */ - getKeep(data?: any): Promise; - /** - * 清理 - */ - clear(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: BaseSysLogEntity[]; - [key: string]: any; - }>; - /** - * 权限标识 - */ - permission: { setKeep: string; getKeep: string; clear: string; page: string }; - /** - * 权限状态 - */ - _permission: { setKeep: boolean; getKeep: boolean; clear: boolean; page: boolean }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface BaseSysMenu { - /** - * 创建代码 - */ - create(data?: any): Promise; - /** - * 导出 - */ - export(data?: any): Promise; - /** - * 导入 - */ - import(data?: any): Promise; - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 解析 - */ - parse(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: BaseSysMenuEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - create: string; - export: string; - import: string; - delete: string; - update: string; - parse: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - create: boolean; - export: boolean; - import: boolean; - delete: boolean; - update: boolean; - parse: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface BaseSysParam { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 获得网页内容的参数值 - */ - html(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: BaseSysParamEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - html: string; - info: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - html: boolean; - info: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface BaseSysRole { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: BaseSysRoleEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface BaseSysUser { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 移动部门 - */ - move(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: BaseSysUserEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - move: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - move: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface DemoGoods { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: DemoGoodsEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface DemoUserFollow { - /** - * page - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: DemoUserFollowEntity[]; - [key: string]: any; - }>; - /** - * list - */ - list(data?: any): Promise; - /** - * info - */ - info(data?: any): Promise; - /** - * delete - */ - delete(data?: any): Promise; - /** - * update - */ - update(data?: any): Promise; - /** - * add - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - page: string; - list: string; - info: string; - delete: string; - update: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - page: boolean; - list: boolean; - info: boolean; - delete: boolean; - update: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface DemoUserInfo { - /** - * t1 - */ - t1(data?: any): Promise; - /** - * t2 - */ - t2(data?: any): Promise; - /** - * t3 - */ - t3(data?: any): Promise; - /** - * page - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: DemoUserInfoEntity[]; - [key: string]: any; - }>; - /** - * list - */ - list(data?: any): Promise; - /** - * info - */ - info(data?: any): Promise; - /** - * delete - */ - delete(data?: any): Promise; - /** - * update - */ - update(data?: any): Promise; - /** - * add - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - t1: string; - t2: string; - t3: string; - page: string; - list: string; - info: string; - delete: string; - update: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - t1: boolean; - t2: boolean; - t3: boolean; - page: boolean; - list: boolean; - info: boolean; - delete: boolean; - update: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface DictInfo { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 获得字典数据 - */ - data(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: DictInfoEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - data: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - data: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface DictType { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: DictTypeEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface PluginInfo { - /** - * 安装插件 - */ - install(data?: any): Promise; - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: PluginInfoEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - install: string; - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - install: boolean; - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface RecycleData { - /** - * 恢复数据 - */ - restore(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: RecycleDataEntity[]; - [key: string]: any; - }>; - /** - * 权限标识 - */ - permission: { restore: string; info: string; page: string }; - /** - * 权限状态 - */ - _permission: { restore: boolean; info: boolean; page: boolean }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface SpaceInfo { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: SpaceInfoEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface SpaceType { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: SpaceTypeEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface TaskInfo { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 开始 - */ - start(data?: any): Promise; - /** - * 执行一次 - */ - once(data?: any): Promise; - /** - * 停止 - */ - stop(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: TaskInfoEntity[]; - [key: string]: any; - }>; - /** - * 日志 - */ - log(data?: any): Promise; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - start: string; - once: string; - stop: string; - info: string; - page: string; - log: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - start: boolean; - once: boolean; - stop: boolean; - info: boolean; - page: boolean; - log: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface UserAddress { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: UserAddressEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface UserInfo { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: UserInfoEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface UserCoupon { - /** - * 删除 - */ - delete(data?: any): Promise; - /** - * 修改 - */ - update(data?: any): Promise; - /** - * 单个信息 - */ - info(data?: any): Promise; - /** - * 列表查询 - */ - list(data?: any): Promise; - /** - * 分页查询 - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: UserCouponEntity[]; - [key: string]: any; - }>; - /** - * 新增 - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - delete: boolean; - update: boolean; - info: boolean; - list: boolean; - page: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface ChatMessage { - /** - * page - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: ChatMessageEntity[]; - [key: string]: any; - }>; - /** - * list - */ - list(data?: any): Promise; - /** - * info - */ - info(data?: any): Promise; - /** - * delete - */ - delete(data?: any): Promise; - /** - * update - */ - update(data?: any): Promise; - /** - * add - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - page: string; - list: string; - info: string; - delete: string; - update: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - page: boolean; - list: boolean; - info: boolean; - delete: boolean; - update: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface ChatSession { - /** - * page - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: ChatSessionEntity[]; - [key: string]: any; - }>; - /** - * list - */ - list(data?: any): Promise; - /** - * info - */ - info(data?: any): Promise; - /** - * delete - */ - delete(data?: any): Promise; - /** - * update - */ - update(data?: any): Promise; - /** - * add - */ - add(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - page: string; - list: string; - info: string; - delete: string; - update: string; - add: string; - }; - /** - * 权限状态 - */ - _permission: { - page: boolean; - list: boolean; - info: boolean; - delete: boolean; - update: boolean; - add: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - interface Test { - /** - * page - */ - page(data?: any): Promise<{ - pagination: { size: number; page: number; total: number; [key: string]: any }; - list: TestEntity[]; - [key: string]: any; - }>; - /** - * update - */ - update(data?: any): Promise; - /** - * add - */ - add(data?: any): Promise; - /** - * info - */ - info(data?: any): Promise; - /** - * delete - */ - delete(data?: any): Promise; - /** - * list - */ - list(data?: any): Promise; - /** - * 权限标识 - */ - permission: { - page: string; - update: string; - add: string; - info: string; - delete: string; - list: string; - }; - /** - * 权限状态 - */ - _permission: { - page: boolean; - update: boolean; - add: boolean; - info: boolean; - delete: boolean; - list: boolean; - }; - /** - * 请求 - */ - request: Service["request"]; - } - - type json = any; - - type Service = { - request(options?: { - url: string; - method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS"; - data?: any; - params?: any; - headers?: { - [key: string]: any; - }; - timeout?: number; - proxy?: boolean; - [key: string]: any; - }): Promise; - base: { - comm: BaseComm; - open: BaseOpen; - sys: { - department: BaseSysDepartment; - log: BaseSysLog; - menu: BaseSysMenu; - param: BaseSysParam; - role: BaseSysRole; - user: BaseSysUser; - }; - }; - demo: { goods: DemoGoods; user: { follow: DemoUserFollow; info: DemoUserInfo } }; - dict: { info: DictInfo; type: DictType }; - plugin: { info: PluginInfo }; - recycle: { data: RecycleData }; - space: { info: SpaceInfo; type: SpaceType }; - task: { info: TaskInfo }; - user: { address: UserAddress; info: UserInfo; coupon: UserCoupon }; - flow: {}; - help: {}; - know: { data: {} }; - msg: {}; - order: {}; - chat: { message: ChatMessage; session: ChatSession }; - test: Test; - }; -} diff --git a/build/cool/eps.json b/build/cool/eps.json deleted file mode 100644 index 6aaf506..0000000 --- a/build/cool/eps.json +++ /dev/null @@ -1 +0,0 @@ -[{"prefix":"/admin/base/comm","name":"","api":[{"method":"post","path":"/personUpdate"},{"method":"get","path":"/uploadMode"},{"method":"get","path":"/permmenu"},{"method":"get","path":"/person"},{"method":"post","path":"/upload"},{"method":"post","path":"/logout"}]},{"prefix":"/admin/base/open","name":"","api":[{"method":"get","path":"/refreshToken"},{"method":"get","path":"/captcha"},{"method":"post","path":"/login"},{"method":"get","path":"/html"},{"method":"get","path":"/eps"}]},{"prefix":"/admin/base/sys/department","name":"BaseSysDepartmentEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/order"},{"method":"post","path":"/list"},{"method":"post","path":"/add"}]},{"prefix":"/admin/base/sys/log","name":"BaseSysLogEntity","api":[{"method":"post","path":"/setKeep"},{"method":"get","path":"/getKeep"},{"method":"post","path":"/clear"},{"method":"post","path":"/page"}]},{"prefix":"/admin/base/sys/menu","name":"BaseSysMenuEntity","api":[{"method":"post","path":"/create"},{"method":"post","path":"/export"},{"method":"post","path":"/import"},{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/parse"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/base/sys/param","name":"BaseSysParamEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/html"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/base/sys/role","name":"BaseSysRoleEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/base/sys/user","name":"BaseSysUserEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/move"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/demo/goods","name":"DemoGoodsEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/dict/info","name":"DictInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/data"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/dict/type","name":"DictTypeEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/plugin/info","name":"PluginInfoEntity","api":[{"method":"post","path":"/install"},{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/recycle/data","name":"RecycleDataEntity","api":[{"method":"post","path":"/restore"},{"method":"get","path":"/info"},{"method":"post","path":"/page"}]},{"prefix":"/admin/space/info","name":"SpaceInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/space/type","name":"SpaceTypeEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/task/info","name":"TaskInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/start"},{"method":"post","path":"/once"},{"method":"post","path":"/stop"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"get","path":"/log"},{"method":"post","path":"/add"}]},{"prefix":"/admin/user/address","name":"UserAddressEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/user/coupon","name":"UserCouponEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/user/info","name":"UserInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}]},{"prefix":"/admin/chat/message","name":"ChatMessageEntity","api":[{"path":"/page"},{"path":"/list"},{"path":"/info"},{"path":"/delete"},{"path":"/update"},{"path":"/add"}]},{"prefix":"/admin/chat/session","name":"ChatSessionEntity","api":[{"path":"/page"},{"path":"/list"},{"path":"/info"},{"path":"/delete"},{"path":"/update"},{"path":"/add"}]},{"prefix":"/admin/test","name":"TestEntity","api":[{"path":"/page"},{"path":"/update"},{"path":"/add"},{"path":"/info"},{"path":"/delete"},{"path":"/list"}]},{"prefix":"/admin/demo/user/follow","name":"DemoUserFollowEntity","api":[{"path":"/page"},{"path":"/list"},{"path":"/info"},{"path":"/delete"},{"path":"/update"},{"path":"/add"}]},{"prefix":"/admin/demo/user/info","name":"DemoUserInfoEntity","api":[{"path":"/t1"},{"path":"/t2"},{"path":"/t3"},{"path":"/page"},{"path":"/list"},{"path":"/info"},{"path":"/delete"},{"path":"/update"},{"path":"/add"}]}] \ No newline at end of file