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

@@ -142,7 +142,7 @@ func RunTime() time.Time {
// Get 获取配置信息
//
// Get("framework.name")
// Get("server.port")
func Get(key string) any {
return viper.Get(key)
}