mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Add kernel API /api/archive/zip and /api/archive/unzip Fix https://github.com/siyuan-note/siyuan/issues/9028
This commit is contained in:
parent
ccff6efc98
commit
0beca364fa
2 changed files with 84 additions and 0 deletions
|
|
@ -377,4 +377,7 @@ func ServeAPI(ginServer *gin.Engine) {
|
|||
ginServer.Handle("GET", "/api/broadcast/channels", model.CheckAuth, getChannels)
|
||||
ginServer.Handle("POST", "/api/broadcast/postMessage", model.CheckAuth, postMessage)
|
||||
ginServer.Handle("POST", "/api/broadcast/getChannelInfo", model.CheckAuth, getChannelInfo)
|
||||
|
||||
ginServer.Handle("POST", "/api/archive/zip", model.CheckAuth, zip)
|
||||
ginServer.Handle("POST", "/api/archive/unzip", model.CheckAuth, unzip)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue