feat: Execl读写工具类
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user