feat: ASW-90 新增 pcakage 相关接口

This commit is contained in:
shizhendong
2024-09-26 09:23:08 +08:00
parent 00f6bf65a1
commit 89c5a94715
11 changed files with 489 additions and 83 deletions

View File

@@ -361,11 +361,13 @@ DROP TABLE IF EXISTS `package`;
CREATE TABLE `package` (
`id` varchar(64) NOT NULL COMMENT '主键',
`name` varchar(256) NOT NULL DEFAULT '' COMMENT '名称',
`logo` varchar(512) NOT NULL DEFAULT '' COMMENT '图标,图标文件 url 地址',
`icon` text NOT NULL DEFAULT '' COMMENT '图标,图标文件base64内容',
`description` text NOT NULL DEFAULT '' COMMENT '描述信息',
`platform` varchar(256) NOT NULL DEFAULT '' COMMENT '操作系统; 可选值android,ios,windows,linux',
`version` varchar(256) NOT NULL DEFAULT '' COMMENT '安装包版本',
`identifier` varchar(256) NOT NULL DEFAULT '' COMMENT '唯一标识;androidpackage name,iosbundle id',
`path` varchar(512) NOT NULL DEFAULT '' COMMENT '安装包文件路径',
`size` bigint(20) NOT NULL DEFAULT 0 COMMENT '文件大小',
`create_timestamp` bigint(20) NOT NULL COMMENT '创建时间戳',
`update_timestamp` bigint(20) NOT NULL COMMENT '更新时间戳',
`create_user_id` varchar(64) NOT NULL COMMENT '创建人',