mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: add and delete file tags
This commit is contained in:
@@ -27,7 +27,7 @@ func SiteConfig(c *gin.Context) {
|
||||
"share_view_method",
|
||||
)
|
||||
|
||||
// 如果已登录,则同时返回用户信息
|
||||
// 如果已登录,则同时返回用户信息和标签
|
||||
user, _ := c.Get("user")
|
||||
if user, ok := user.(*model.User); ok {
|
||||
c.JSON(200, serializer.BuildSiteConfig(siteConfig, user))
|
||||
|
||||
Reference in New Issue
Block a user