feat: 支持ZIP压缩包上传(含密码保护)

This commit is contained in:
CHE LIANG ZHAO
2026-01-23 13:46:45 +08:00
parent 49e3176e6b
commit a97a8d6a20
22 changed files with 973 additions and 72 deletions

View File

@@ -27,6 +27,7 @@ func extractFromCSV(filePath string) []model.ReviewRecord {
defer file.Close()
reader := csv.NewReader(file)
reader.FieldsPerRecord = -1 // 允许变长记录
rows, err := reader.ReadAll()
if err != nil || len(rows) < 2 {
return records