This commit is contained in:
Liang Ding 2022-07-15 10:52:02 +08:00
parent fafd4f8513
commit 075a6af7ad
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 134 additions and 54 deletions

View file

@ -37,9 +37,9 @@ func renameAsset(c *gin.Context) {
return
}
oldName := arg["oldName"].(string)
oldPath := arg["oldPath"].(string)
newName := arg["newName"].(string)
model.RenameAsset(oldName, newName)
model.RenameAsset(oldPath, newName)
}
func getDocImageAssets(c *gin.Context) {