You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/api/settings/init.go

21 lines
386 B
Go

//
// Copyright (C) 2024 veypi <i@veypi.com>
// 2025-03-04 16:08:06
// Distributed under terms of the MIT license.
//
package settings
import (
"github.com/veypi/vigo"
)
var Router = vigo.NewRouter()
func init() {
// 获取设置列表(支持按分类过滤)
Router.Get("/", "获取设置列表", list)
// 批量更新设置
Router.Put("/", "批量更新设置", update)
}