#I85QPE 处理附件列表问题,优化文件上传逻辑

This commit is contained in:
sswiki
2023-10-07 15:02:52 +08:00
parent de11195aa9
commit 346c63d55f
13 changed files with 178 additions and 161 deletions

View File

@@ -147,6 +147,7 @@ CREATE TABLE `wiki_page_file` (
`del_flag` tinyint(4) NULL DEFAULT 0 COMMENT '0=有效 1=删除',
`download_num` int(11) NOT NULL DEFAULT 0 COMMENT '下载次数',
`file_size` bigint NULL COMMENT '文件大小',
`file_source` TINYINT(4) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `uk_uuid`(`uuid`) USING BTREE COMMENT '文件ID'
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;