From 8166f776e6e48df29ed486be76049d0342f767ea Mon Sep 17 00:00:00 2001 From: sage Date: Sat, 5 Mar 2022 20:03:49 +0800 Subject: [PATCH] add yaml --- src/v1/config/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v1/config/auth.go b/src/v1/config/auth.go index 4bda54c..969f78b 100644 --- a/src/v1/config/auth.go +++ b/src/v1/config/auth.go @@ -2,6 +2,6 @@ package config //授权登录相关 type AuthConfig struct { - SecretKey string - AuthExpired int64 `yaml:"AuthExpired"` + SecretKey string `yaml:"SecretKey"` + AuthExpired int64 `yaml:"AuthExpired"` } -- Gitee