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

@@ -20,6 +20,13 @@ func RunCleanScript(inputPath, outputPath string, opts *CleanOptions) (*CleanRes
return cleaner.Clean(inputPath, outputPath, opts)
}
// ConvertBillFile 转换账单文件格式xlsx -> csv处理编码
// 返回转换后的文件路径和检测到的账单类型
func ConvertBillFile(inputPath string) (outputPath string, billType string, err error) {
cleaner := adapter.GetCleaner()
return cleaner.Convert(inputPath)
}
// DetectBillTypeFromOutput 从脚本输出中检测账单类型
// 保留此函数以兼容其他调用
func DetectBillTypeFromOutput(output string) string {