mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 提供 Sprig 模板渲染 API Fix https://github.com/siyuan-note/siyuan/issues/7767
This commit is contained in:
parent
986166ff8b
commit
13d88644a8
4 changed files with 64 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue