🎨 Improve renameFile api

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-29 12:04:51 +08:00
parent c243fea81c
commit 365f1f15d5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -309,7 +309,6 @@ func renameFile(c *gin.Context) {
if err != nil {
ret.Code = http.StatusForbidden
ret.Msg = err.Error()
c.JSON(http.StatusAccepted, ret)
return
}
if filelock.IsExist(destAbsPath) {