mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Clean code https://github.com/siyuan-note/siyuan/pull/12939
This commit is contained in:
parent
c1a7995862
commit
ed4661c4ad
2 changed files with 11 additions and 10 deletions
|
|
@ -33,8 +33,8 @@ func ServeAPI(ginServer *gin.Engine) {
|
|||
ginServer.Handle("POST", "/api/system/loginAuth", model.LoginAuth)
|
||||
ginServer.Handle("POST", "/api/system/logoutAuth", model.LogoutAuth)
|
||||
ginServer.Handle("GET", "/api/system/getCaptcha", model.GetCaptcha)
|
||||
ginServer.Handle("GET", "/api/icon/getDynamicIcon", getDynamicIcon) // 添加动态图标路由
|
||||
|
||||
ginServer.Handle("GET", "/api/icon/getDynamicIcon", getDynamicIcon)
|
||||
|
||||
// 需要鉴权
|
||||
|
||||
ginServer.Handle("POST", "/api/system/getEmojiConf", model.CheckAuth, getEmojiConf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue