fix: 获取文件导出路径错误提示信息
This commit is contained in:
@@ -68,7 +68,7 @@ func (m *FileExport) GetFileList(c *gin.Context) {
|
||||
files, err := file.GetFileInfo(querys.Path, querys.Suffix)
|
||||
if err != nil {
|
||||
log.Error("failed to GetFileInfo:", err)
|
||||
c.JSON(http.StatusOK, services.ErrResp(err.Error()))
|
||||
c.JSON(http.StatusOK, services.ErrResp("not found path file"))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user