mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 集市支持已安装的包单独显示 https://github.com/siyuan-note/siyuan/issues/5678
This commit is contained in:
parent
f9fdabf665
commit
6072f8a3a1
7 changed files with 158 additions and 100 deletions
|
|
@ -107,6 +107,15 @@ func getBazaarIcon(c *gin.Context) {
|
|||
}
|
||||
}
|
||||
|
||||
func getInstalledIcon(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
ret.Data = map[string]interface{}{
|
||||
"packages": bazaar.InstalledIcons(),
|
||||
}
|
||||
}
|
||||
|
||||
func installBazaarIcon(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue