feat: 绑定 oauth2

This commit is contained in:
naiba
2024-12-28 23:50:59 +08:00
parent 0364632ebc
commit 8b9afbf39c
15 changed files with 360 additions and 24 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ type FrontendTemplate struct {
IsOfficial bool `json:"is_official,omitempty"`
}
type SettingResponse struct {
Config
type SettingResponse[T any] struct {
Config T `json:"config,omitempty"`
Version string `json:"version,omitempty"`
FrontendTemplates []FrontendTemplate `json:"frontend_templates,omitempty"`