2023-03-08 15:14:43 +08:00
|
|
|
|
declare namespace Eps {
|
|
|
|
|
interface BaseSysDepartmentEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 部门名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 上级部门ID
|
|
|
|
|
*/
|
|
|
|
|
parentId?: BigInt;
|
|
|
|
|
/**
|
|
|
|
|
* 排序
|
|
|
|
|
*/
|
|
|
|
|
orderNum?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysLogEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 用户ID
|
|
|
|
|
*/
|
|
|
|
|
userId?: BigInt;
|
|
|
|
|
/**
|
|
|
|
|
* 行为
|
|
|
|
|
*/
|
|
|
|
|
action?: string;
|
|
|
|
|
/**
|
|
|
|
|
* ip
|
|
|
|
|
*/
|
|
|
|
|
ip?: string;
|
|
|
|
|
/**
|
|
|
|
|
* ip地址
|
|
|
|
|
*/
|
|
|
|
|
ipAddr?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 参数
|
|
|
|
|
*/
|
|
|
|
|
params?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysMenuEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 父菜单ID
|
|
|
|
|
*/
|
|
|
|
|
parentId?: BigInt;
|
|
|
|
|
/**
|
|
|
|
|
* 菜单名称
|
|
|
|
|
*/
|
|
|
|
|
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;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysParamEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 键位
|
|
|
|
|
*/
|
|
|
|
|
keyName?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 数据
|
|
|
|
|
*/
|
|
|
|
|
data?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 数据类型 0:字符串 1:数组 2:键值对
|
|
|
|
|
*/
|
|
|
|
|
dataType?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
*/
|
|
|
|
|
remark?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysRoleEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 用户ID
|
|
|
|
|
*/
|
|
|
|
|
userId?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 角色标签
|
|
|
|
|
*/
|
|
|
|
|
label?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
*/
|
|
|
|
|
remark?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 数据权限是否关联上下级
|
|
|
|
|
*/
|
|
|
|
|
relevance?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 菜单权限
|
|
|
|
|
*/
|
|
|
|
|
menuIdList?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 部门权限
|
|
|
|
|
*/
|
|
|
|
|
departmentIdList?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysUserEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 部门ID
|
|
|
|
|
*/
|
|
|
|
|
departmentId?: BigInt;
|
|
|
|
|
/**
|
|
|
|
|
* 姓名
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 用户名
|
|
|
|
|
*/
|
|
|
|
|
username?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 密码
|
|
|
|
|
*/
|
|
|
|
|
password?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 密码版本, 作用是改完密码,让原来的token失效
|
|
|
|
|
*/
|
|
|
|
|
passwordV?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 昵称
|
|
|
|
|
*/
|
|
|
|
|
nickName?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 头像
|
|
|
|
|
*/
|
|
|
|
|
headImg?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 手机
|
|
|
|
|
*/
|
|
|
|
|
phone?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 邮箱
|
|
|
|
|
*/
|
|
|
|
|
email?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
*/
|
|
|
|
|
remark?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 状态 0:禁用 1:启用
|
|
|
|
|
*/
|
|
|
|
|
status?: boolean;
|
|
|
|
|
/**
|
|
|
|
|
* socketId
|
|
|
|
|
*/
|
|
|
|
|
socketId?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface CloudDBEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 说明
|
|
|
|
|
*/
|
|
|
|
|
readme?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 内容
|
|
|
|
|
*/
|
|
|
|
|
content?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 类名
|
|
|
|
|
*/
|
|
|
|
|
className?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 表名
|
|
|
|
|
*/
|
|
|
|
|
tableName?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 状态 0-禁用 1-启用
|
|
|
|
|
*/
|
|
|
|
|
status?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface CloudFuncInfoEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 说明
|
|
|
|
|
*/
|
|
|
|
|
readme?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 内容
|
|
|
|
|
*/
|
|
|
|
|
content?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 状态 0-禁用 1-启用
|
|
|
|
|
*/
|
|
|
|
|
status?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface CloudFuncLogEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 云函数ID
|
|
|
|
|
*/
|
|
|
|
|
infoId?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 结果
|
|
|
|
|
*/
|
|
|
|
|
result?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 类型 0-失败 1-成功
|
|
|
|
|
*/
|
|
|
|
|
type?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 异常信息
|
|
|
|
|
*/
|
|
|
|
|
error?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 耗时(毫秒)
|
|
|
|
|
*/
|
|
|
|
|
time?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface DemoGoodsEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 标题
|
|
|
|
|
*/
|
|
|
|
|
title?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 价格
|
|
|
|
|
*/
|
|
|
|
|
price?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 描述
|
|
|
|
|
*/
|
|
|
|
|
description?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 主图
|
|
|
|
|
*/
|
|
|
|
|
mainImage?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 示例图
|
|
|
|
|
*/
|
|
|
|
|
exampleImages?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 库存
|
|
|
|
|
*/
|
|
|
|
|
stock?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface DictInfoEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 类型ID
|
|
|
|
|
*/
|
|
|
|
|
typeId?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 排序
|
|
|
|
|
*/
|
|
|
|
|
orderNum?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
*/
|
|
|
|
|
remark?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 父ID
|
|
|
|
|
*/
|
|
|
|
|
parentId?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface DictTypeEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 标识
|
|
|
|
|
*/
|
|
|
|
|
key?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface IotDeviceEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 图标
|
|
|
|
|
*/
|
|
|
|
|
icon?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 设备唯一ID
|
|
|
|
|
*/
|
|
|
|
|
uniqueId?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 状态 0-离线 1-在线
|
|
|
|
|
*/
|
|
|
|
|
status?: boolean;
|
|
|
|
|
/**
|
|
|
|
|
* 客户端ID
|
|
|
|
|
*/
|
|
|
|
|
clientId?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface IotMessageEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 设备ID
|
|
|
|
|
*/
|
|
|
|
|
deviceId?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 数据
|
|
|
|
|
*/
|
|
|
|
|
data?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 类型 0-推送 1-接收
|
|
|
|
|
*/
|
|
|
|
|
type?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface RecycleDataEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 表
|
|
|
|
|
*/
|
|
|
|
|
entityInfo?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 操作人
|
|
|
|
|
*/
|
|
|
|
|
userId?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 被删除的数据
|
|
|
|
|
*/
|
|
|
|
|
data?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 请求的接口
|
|
|
|
|
*/
|
|
|
|
|
url?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 请求参数
|
|
|
|
|
*/
|
|
|
|
|
params?: json;
|
|
|
|
|
/**
|
|
|
|
|
* 删除数据条数
|
|
|
|
|
*/
|
|
|
|
|
count?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface SpaceInfoEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 地址
|
|
|
|
|
*/
|
|
|
|
|
url?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 类型
|
|
|
|
|
*/
|
|
|
|
|
type?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 分类ID
|
|
|
|
|
*/
|
|
|
|
|
classifyId?: BigInt;
|
|
|
|
|
/**
|
|
|
|
|
* 文件id
|
|
|
|
|
*/
|
|
|
|
|
fileId?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 文件名
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 文件大小
|
|
|
|
|
*/
|
|
|
|
|
size?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 文档版本
|
|
|
|
|
*/
|
|
|
|
|
version?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 文件位置
|
|
|
|
|
*/
|
|
|
|
|
key?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface SpaceTypeEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 类别名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 父分类ID
|
|
|
|
|
*/
|
|
|
|
|
parentId?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface TaskInfoEntity {
|
2023-03-09 12:16:15 +08:00
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 任务ID
|
|
|
|
|
*/
|
|
|
|
|
jobId?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 任务配置
|
|
|
|
|
*/
|
|
|
|
|
repeatConf?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 名称
|
|
|
|
|
*/
|
|
|
|
|
name?: string;
|
|
|
|
|
/**
|
|
|
|
|
* cron
|
|
|
|
|
*/
|
|
|
|
|
cron?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 最大执行次数 不传为无限次
|
|
|
|
|
*/
|
|
|
|
|
limit?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 每间隔多少毫秒执行一次 如果cron设置了 这项设置就无效
|
|
|
|
|
*/
|
|
|
|
|
every?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
*/
|
|
|
|
|
remark?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 状态 0:停止 1:运行
|
|
|
|
|
*/
|
|
|
|
|
status?: boolean;
|
|
|
|
|
/**
|
|
|
|
|
* 开始时间
|
|
|
|
|
*/
|
|
|
|
|
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;
|
2023-03-08 15:14:43 +08:00
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
2023-04-03 19:02:44 +08:00
|
|
|
|
|
|
|
|
|
interface UserAddressEntity {
|
|
|
|
|
/**
|
|
|
|
|
* ID
|
|
|
|
|
*/
|
|
|
|
|
id?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 用户ID
|
|
|
|
|
*/
|
|
|
|
|
userId?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 联系人
|
|
|
|
|
*/
|
|
|
|
|
contact?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 手机号
|
|
|
|
|
*/
|
|
|
|
|
phone?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 省份
|
|
|
|
|
*/
|
|
|
|
|
province?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 城市
|
|
|
|
|
*/
|
|
|
|
|
city?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 区县
|
|
|
|
|
*/
|
|
|
|
|
district?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 详细地址
|
|
|
|
|
*/
|
|
|
|
|
address?: string;
|
|
|
|
|
/**
|
|
|
|
|
* 是否默认 0-否 1-是
|
|
|
|
|
*/
|
|
|
|
|
isDefault?: number;
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
createTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
updateTime?: Date;
|
|
|
|
|
/**
|
|
|
|
|
* 任意键值
|
|
|
|
|
*/
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
2023-03-08 15:14:43 +08:00
|
|
|
|
interface ChatMessage {
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
|
/**
|
|
|
|
|
* page
|
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: any[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
info: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ChatSession {
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
|
/**
|
|
|
|
|
* page
|
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: any[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
info: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface Test {
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
|
/**
|
|
|
|
|
* page
|
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: any[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
info: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseComm {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改个人信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
personUpdate(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 文件上传模式
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
uploadMode(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 权限与菜单
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
permmenu(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 个人信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
person(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 文件上传
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
upload(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 退出
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
logout(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
|
/**
|
|
|
|
|
* page
|
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: any[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
personUpdate: string;
|
|
|
|
|
uploadMode: string;
|
|
|
|
|
permmenu: string;
|
|
|
|
|
person: string;
|
|
|
|
|
upload: string;
|
|
|
|
|
logout: string;
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
info: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
personUpdate: boolean;
|
|
|
|
|
uploadMode: boolean;
|
|
|
|
|
permmenu: boolean;
|
|
|
|
|
person: boolean;
|
|
|
|
|
upload: boolean;
|
|
|
|
|
logout: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseOpen {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 刷新token
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
refreshToken(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 验证码
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
captcha(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 登录
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
login(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 获得网页内容的参数值
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
html(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 实体信息与路径
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
eps(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
|
/**
|
|
|
|
|
* page
|
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: any[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
refreshToken: string;
|
|
|
|
|
captcha: string;
|
|
|
|
|
login: string;
|
|
|
|
|
html: string;
|
|
|
|
|
eps: string;
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
info: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
refreshToken: boolean;
|
|
|
|
|
captcha: boolean;
|
|
|
|
|
login: boolean;
|
|
|
|
|
html: boolean;
|
|
|
|
|
eps: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysDepartment {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 排序
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
order(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<BaseSysDepartmentEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* page
|
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: BaseSysDepartmentEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<BaseSysDepartmentEntity>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
delete: string;
|
|
|
|
|
update: string;
|
|
|
|
|
order: string;
|
|
|
|
|
list: string;
|
|
|
|
|
add: string;
|
|
|
|
|
page: string;
|
|
|
|
|
info: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
delete: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
order: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysLog {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 日志保存时间
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
setKeep(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 获得日志保存时间
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
getKeep(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 清理
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
clear(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: BaseSysLogEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<BaseSysLogEntity[]>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<BaseSysLogEntity>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
setKeep: string;
|
|
|
|
|
getKeep: string;
|
|
|
|
|
clear: string;
|
|
|
|
|
page: string;
|
|
|
|
|
list: string;
|
|
|
|
|
info: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
setKeep: boolean;
|
|
|
|
|
getKeep: boolean;
|
|
|
|
|
clear: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysMenu {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 创建代码
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
create(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 解析
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
parse(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<BaseSysMenuEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<BaseSysMenuEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: BaseSysMenuEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
create: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
update: string;
|
|
|
|
|
parse: string;
|
|
|
|
|
info: string;
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
create: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
parse: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysParam {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 获得网页内容的参数值
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
html(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<BaseSysParamEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: BaseSysParamEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<BaseSysParamEntity[]>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
delete: string;
|
|
|
|
|
update: string;
|
|
|
|
|
html: string;
|
|
|
|
|
info: string;
|
|
|
|
|
page: string;
|
|
|
|
|
add: string;
|
|
|
|
|
list: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
delete: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
html: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface BaseSysRole {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<BaseSysRoleEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<BaseSysRoleEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: BaseSysRoleEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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 {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 移动部门
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
move(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<BaseSysUserEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<BaseSysUserEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: BaseSysUserEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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 CloudDb {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 初始化Entity
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
initEntity(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 数据操作
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
data(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<CloudDBEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<CloudDBEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: CloudDBEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
initEntity: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
update: string;
|
|
|
|
|
data: string;
|
|
|
|
|
info: string;
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
initEntity: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
data: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface CloudFuncInfo {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 调用云函数
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
invoke(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<CloudFuncInfoEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<CloudFuncInfoEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: CloudFuncInfoEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
invoke: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
update: string;
|
|
|
|
|
info: string;
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
invoke: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface CloudFuncLog {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<CloudFuncLogEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<CloudFuncLogEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: CloudFuncLogEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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 DemoGoods {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<DemoGoodsEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<DemoGoodsEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: DemoGoodsEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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 DictInfo {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 获得字典数据
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
data(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<DictInfoEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<DictInfoEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: DictInfoEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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 {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<DictTypeEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<DictTypeEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: DictTypeEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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 IotDevice {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<IotDeviceEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<IotDeviceEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: IotDeviceEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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 IotMessage {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: IotMessageEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<IotMessageEntity[]>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<IotMessageEntity>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
page: string;
|
|
|
|
|
list: string;
|
|
|
|
|
info: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
page: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface IotMqtt {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 推送消息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
publish(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* MQTT配置信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
config(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<any[]>;
|
|
|
|
|
/**
|
|
|
|
|
* page
|
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: any[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* info
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
publish: string;
|
|
|
|
|
config: string;
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
info: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
publish: boolean;
|
|
|
|
|
config: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface RecycleData {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 恢复数据
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
restore(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<RecycleDataEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: RecycleDataEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<RecycleDataEntity[]>;
|
|
|
|
|
/**
|
|
|
|
|
* update
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* delete
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* add
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
restore: string;
|
|
|
|
|
info: string;
|
|
|
|
|
page: string;
|
|
|
|
|
list: string;
|
|
|
|
|
update: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
restore: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface SpaceInfo {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 获得WPS配置
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
getConfig(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<SpaceInfoEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<SpaceInfoEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: SpaceInfoEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
getConfig: string;
|
|
|
|
|
delete: string;
|
|
|
|
|
update: string;
|
|
|
|
|
info: string;
|
|
|
|
|
list: string;
|
|
|
|
|
page: string;
|
|
|
|
|
add: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
getConfig: boolean;
|
|
|
|
|
delete: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface SpaceType {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<SpaceTypeEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 列表查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<SpaceTypeEntity[]>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: SpaceTypeEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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 {
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 删除
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 修改
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 开始
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
start(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 执行一次
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
once(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 停止
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
stop(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 单个信息
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<TaskInfoEntity>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 分页查询
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: TaskInfoEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 日志
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
log(data?: any): Promise<any>;
|
|
|
|
|
/**
|
2023-03-09 12:16:15 +08:00
|
|
|
|
* 新增
|
2023-03-08 15:14:43 +08:00
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* list
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<TaskInfoEntity[]>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
permission: {
|
|
|
|
|
delete: string;
|
|
|
|
|
update: string;
|
|
|
|
|
start: string;
|
|
|
|
|
once: string;
|
|
|
|
|
stop: string;
|
|
|
|
|
info: string;
|
|
|
|
|
page: string;
|
|
|
|
|
log: string;
|
|
|
|
|
add: string;
|
|
|
|
|
list: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 权限状态
|
|
|
|
|
*/
|
|
|
|
|
_permission: {
|
|
|
|
|
delete: boolean;
|
|
|
|
|
update: boolean;
|
|
|
|
|
start: boolean;
|
|
|
|
|
once: boolean;
|
|
|
|
|
stop: boolean;
|
|
|
|
|
info: boolean;
|
|
|
|
|
page: boolean;
|
|
|
|
|
log: boolean;
|
|
|
|
|
add: boolean;
|
|
|
|
|
list: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 请求
|
|
|
|
|
*/
|
|
|
|
|
request: Service["request"];
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-03 19:02:44 +08:00
|
|
|
|
interface UserAddress {
|
|
|
|
|
/**
|
|
|
|
|
* 删除
|
|
|
|
|
*/
|
|
|
|
|
delete(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 修改
|
|
|
|
|
*/
|
|
|
|
|
update(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 单个信息
|
|
|
|
|
*/
|
|
|
|
|
info(data?: any): Promise<UserAddressEntity>;
|
|
|
|
|
/**
|
|
|
|
|
* 列表查询
|
|
|
|
|
*/
|
|
|
|
|
list(data?: any): Promise<UserAddressEntity[]>;
|
|
|
|
|
/**
|
|
|
|
|
* 分页查询
|
|
|
|
|
*/
|
|
|
|
|
page(data?: any): Promise<{
|
|
|
|
|
pagination: { size: number; page: number; total: number };
|
|
|
|
|
list: UserAddressEntity[];
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}>;
|
|
|
|
|
/**
|
|
|
|
|
* 新增
|
|
|
|
|
*/
|
|
|
|
|
add(data?: any): Promise<any>;
|
|
|
|
|
/**
|
|
|
|
|
* 权限标识
|
|
|
|
|
*/
|
|
|
|
|
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"];
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-08 15:14:43 +08:00
|
|
|
|
type Service = {
|
|
|
|
|
request(options?: {
|
|
|
|
|
url: string;
|
|
|
|
|
method?: "POST" | "GET" | string;
|
|
|
|
|
data?: any;
|
|
|
|
|
params?: any;
|
|
|
|
|
proxy?: boolean;
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}): Promise<any>;
|
|
|
|
|
chat: { message: ChatMessage; session: ChatSession };
|
|
|
|
|
test: Test;
|
|
|
|
|
base: {
|
|
|
|
|
comm: BaseComm;
|
|
|
|
|
open: BaseOpen;
|
|
|
|
|
sys: {
|
|
|
|
|
department: BaseSysDepartment;
|
|
|
|
|
log: BaseSysLog;
|
|
|
|
|
menu: BaseSysMenu;
|
|
|
|
|
param: BaseSysParam;
|
|
|
|
|
role: BaseSysRole;
|
|
|
|
|
user: BaseSysUser;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
cloud: { db: CloudDb; func: { info: CloudFuncInfo; log: CloudFuncLog } };
|
|
|
|
|
demo: { goods: DemoGoods };
|
|
|
|
|
dict: { info: DictInfo; type: DictType };
|
|
|
|
|
iot: { device: IotDevice; message: IotMessage; mqtt: IotMqtt };
|
|
|
|
|
recycle: { data: RecycleData };
|
|
|
|
|
space: { info: SpaceInfo; type: SpaceType };
|
|
|
|
|
task: { info: TaskInfo };
|
2023-04-03 19:02:44 +08:00
|
|
|
|
user: { address: UserAddress };
|
2023-03-08 15:14:43 +08:00
|
|
|
|
};
|
|
|
|
|
}
|