implement OIDC configuration management with CRUD operations, add admin routes, and enhance error handling

This commit is contained in:
2025-07-23 03:32:00 +08:00
parent 562b9bd17f
commit 58c370ec65
19 changed files with 523 additions and 73 deletions

View File

@ -8,9 +8,9 @@ type PostDto struct {
IsPrivate bool `json:"is_private"` // 是否为私密帖子
}
type CreatePostReq struct {
Title string `json:"title"`
Content string `json:"content"`
Labels []LabelDto `json:"labels"`
IsPrivate bool `json:"is_private"`
type CreateOrUpdatePostReq struct {
Title string `json:"title"`
Content string `json:"content"`
IsPrivate bool `json:"is_private"`
Labels []uint `json:"labels"` // 标签ID列表
}