feat: 添加内容置顶过滤选项,更新内容列表查询功能;添加创作者设置 ID 字段;优化租户信息获取逻辑;更新租户 API 接口

This commit is contained in:
2026-01-05 17:10:25 +08:00
parent 67c6c3cccb
commit 454f6809b0
8 changed files with 110 additions and 67 deletions

View File

@@ -8,6 +8,7 @@ type ContentListFilter struct {
Genre *string `query:"genre"`
TenantID *string `query:"tenantId"`
Sort *string `query:"sort"`
IsPinned *bool `query:"is_pinned"`
}
type ContentItem struct {

View File

@@ -106,6 +106,7 @@ type RefundForm struct {
}
type Settings struct {
ID string `json:"id"`
Name string `json:"name"`
Bio string `json:"bio"`
Avatar string `json:"avatar"`