This commit is contained in:
Liang Ding 2022-11-07 21:12:29 +08:00
parent b0fe8b49ba
commit 24edac891e
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 108 additions and 0 deletions

View file

@ -111,6 +111,7 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/history/clearWorkspaceHistory", model.CheckAuth, model.CheckReadonly, clearWorkspaceHistory)
ginServer.Handle("POST", "/api/history/reindexHistory", model.CheckAuth, model.CheckReadonly, reindexHistory)
ginServer.Handle("POST", "/api/history/searchHistory", model.CheckAuth, model.CheckReadonly, searchHistory)
ginServer.Handle("POST", "/api/history/getHistoryItems", model.CheckAuth, model.CheckReadonly, getHistoryItems)
ginServer.Handle("POST", "/api/outline/getDocOutline", model.CheckAuth, getDocOutline)
ginServer.Handle("POST", "/api/bookmark/getBookmark", model.CheckAuth, getBookmark)