🎨 Add internal kernel API /api/riff/batchSetRiffCardsDueTime https://github.com/siyuan-note/siyuan/issues/10423

This commit is contained in:
Daniel 2024-02-24 22:04:36 +08:00
parent 3ec2ff243f
commit 285eb12b48
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 78 additions and 12 deletions

View file

@ -384,6 +384,7 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/riff/getTreeRiffCards", model.CheckAuth, getTreeRiffCards)
ginServer.Handle("POST", "/api/riff/getNotebookRiffCards", model.CheckAuth, getNotebookRiffCards)
ginServer.Handle("POST", "/api/riff/resetRiffCards", model.CheckAuth, model.CheckReadonly, resetRiffCards)
ginServer.Handle("POST", "/api/riff/batchSetRiffCardsDueTime", model.CheckAuth, model.CheckReadonly, batchSetRiffCardsDueTime)
ginServer.Handle("POST", "/api/notification/pushMsg", model.CheckAuth, pushMsg)
ginServer.Handle("POST", "/api/notification/pushErrMsg", model.CheckAuth, pushErrMsg)