This commit is contained in:
Liang Ding 2023-03-24 15:00:36 +08:00
parent 986166ff8b
commit 13d88644a8
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 64 additions and 0 deletions

View file

@ -248,6 +248,7 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/template/render", model.CheckAuth, renderTemplate)
ginServer.Handle("POST", "/api/template/docSaveAsTemplate", model.CheckAuth, model.CheckReadonly, docSaveAsTemplate)
ginServer.Handle("POST", "/api/template/renderSprig", model.CheckAuth, model.CheckReadonly, renderSprig)
ginServer.Handle("POST", "/api/transactions", model.CheckAuth, model.CheckReadonly, performTransactions)