mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
This commit is contained in:
parent
fafd4f8513
commit
075a6af7ad
5 changed files with 134 additions and 54 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue