From ed7599302cdb1a27f69f7d9f1f3161e74abbe024 Mon Sep 17 00:00:00 2001 From: NoahLan <6995syu@163.com> Date: Fri, 4 Aug 2023 17:02:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9Auth=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/config/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/config/auth.go b/core/config/auth.go index 12a8a86..bc1b2f1 100644 --- a/core/config/auth.go +++ b/core/config/auth.go @@ -1,7 +1,7 @@ package config -// AuthConfig 登录认证配置 -type AuthConfig struct { +// AuthConf 登录认证配置 +type AuthConf struct { AccessSecret string `json:",default=northlan,env=ACCESS_SECRET"` // Secret AccessExpire int64 `json:",default=604800,env=ACCESS_EXPIRE"` // Expire in seconds }