mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🧑💻 Add internal kernel API /api/icon/getDynamicIcon (#12939)
更改locale参数为lang 新增weekdayType参数,支持设置weekday格式
This commit is contained in:
parent
f4140b61e9
commit
c1a7995862
2 changed files with 455 additions and 1 deletions
|
|
@ -33,7 +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("POST", "/api/system/getEmojiConf", model.CheckAuth, getEmojiConf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue