1. 附件加密上传下载

This commit is contained in:
chenbowen
2025-07-22 19:36:46 +08:00
parent d17fa356ba
commit 8ab6cb4bae
26 changed files with 411 additions and 94 deletions

View File

@@ -50,3 +50,5 @@ mybatis-plus:
yudao:
info:
base-package: cn.iocoder.yudao.module.infra
AES:
key: XDV71a+xqStEA3WH

View File

@@ -46,6 +46,7 @@ CREATE TABLE IF NOT EXISTS "infra_file" (
"deleted" bit NOT NULL DEFAULT FALSE,
"tenant_id" bigint not null default '0',
"hash" varchar(64) DEFAULT NULL COMMENT '文件哈希值SHA-256',
"aes_iv" varchar(64) DEFAULT NULL COMMENT '文件哈希值SHA-256',
PRIMARY KEY ("id")
) COMMENT '文件表';