feat: 系统用户免登录认证,默认为admin操作所有接口

This commit is contained in:
TsMask
2024-11-25 11:58:08 +08:00
parent 1588cbaedd
commit 75de667f7a
7 changed files with 40 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ func InitConfig(configFile string) {
// Get 获取配置信息
//
// Get("framework.name")
// Get("server.port")
func Get(key string) any {
return v.Get(key)
}