♻️ Refactor push reload filetree, tag and protyle

This commit is contained in:
Daniel 2025-04-14 22:03:31 +08:00
parent ebb74238c9
commit 246efd5938
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
7 changed files with 19 additions and 7 deletions

View file

@ -29,14 +29,14 @@ func reloadTag(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
util.PushReloadTag()
model.ReloadTag()
}
func reloadFiletree(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
util.PushReloadFiletree()
model.ReloadFiletree()
}
func reloadProtyle(c *gin.Context) {