feat: 新增统一文件模块,统一文件操作

This commit is contained in:
meilin.huang
2024-10-21 22:27:42 +08:00
parent 6343173cf8
commit ea3c70a8a8
71 changed files with 1642 additions and 1216 deletions

View File

@@ -13,8 +13,7 @@ type DbTransferFile struct {
TaskId uint64 `orm:"column(task_id)" json:"taskId"` // 迁移任务ID
LogId uint64 `orm:"column(log_id)" json:"logId"` // 日志ID
FileDbType string `orm:"column(file_db_type)" json:"fileDbType"` // sql文件数据库类型
FileName string `orm:"column(file_name)" json:"fileName"` // 显式文件
FileUuid string `orm:"column(file_uuid)" json:"fileUuid"` // 文件真实id拼接后可以下载
FileKey string `orm:"column(file_key)" json:"fileKey"` // 文件
}
func (d *DbTransferFile) TableName() string {