Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-28 20:36:35 +08:00
parent 3d50e40177
commit fc4cadfd58
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 44 additions and 36 deletions

View file

@ -151,7 +151,6 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/history/getHistoryItems", model.CheckAuth, model.CheckAdminRole, getHistoryItems)
ginServer.Handle("POST", "/api/outline/getDocOutline", model.CheckAuth, getDocOutline)
ginServer.Handle("POST", "/api/outline/getDocOutlineAndStorage", model.CheckAuth, getDocOutlineAndStorage)
ginServer.Handle("POST", "/api/bookmark/getBookmark", model.CheckAuth, getBookmark)
ginServer.Handle("POST", "/api/bookmark/renameBookmark", model.CheckAuth, model.CheckAdminRole, model.CheckReadonly, renameBookmark)