This commit is contained in:
Daniel 2023-08-12 11:39:36 +08:00
parent 8dcd89da93
commit fece4f114e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 8 additions and 0 deletions

View file

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