feat: Execl读写工具类

This commit is contained in:
TsMask committed 2025-05-09 11:53:24 +08:00
1 parent 8c663f1e18
commit ad6626e67b
2 files changed
+110 -50

No files matched your search

+1 -1
View File
@@ -655,7 +655,7 @@ func (s *SysUserController) Import(c *gin.Context) {
// 表格文件绝对地址
filePath := file.ParseUploadFileAbsPath(body.FilePath)
// 读取表格数据
rows, err := file.ReadSheet(filePath, "")
rows, err := file.ReadFileExecl(filePath, "")
if err != nil {
c.JSON(200, resp.ErrMsg(err.Error()))
return