Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-09 09:28:09 +08:00
parent f8e49f4e13
commit 941e153a4b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
21 changed files with 176 additions and 16 deletions

View file

@ -35,6 +35,13 @@ import (
"github.com/siyuan-note/siyuan/kernel/util"
)
func clearTempFiles(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
model.ClearTempFiles()
}
func vacuumDataIndex(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)