feat 历史记录
This commit is contained in:
@@ -39,4 +39,5 @@ serve:
|
||||
|
||||
auth:
|
||||
secret: "bMa3mU4oCsX2KBex5o7GzwSnACpumFq3SdlDXYZgVTU="
|
||||
expire: 259200
|
||||
shortExpire: 60
|
||||
longExpire: 10080
|
||||
|
||||
@@ -14,8 +14,9 @@ type Config struct {
|
||||
}
|
||||
|
||||
type AuthConfig struct {
|
||||
Secret string `yaml:"secret"`
|
||||
Expire int64 `yaml:"expire"`
|
||||
Secret string `yaml:"secret"`
|
||||
ShortExpire int64 `yaml:"shortExpire"`
|
||||
LongExpire int64 `yaml:"longExpire"`
|
||||
}
|
||||
|
||||
var cfg *Config
|
||||
|
||||
@@ -39,4 +39,5 @@ serve:
|
||||
|
||||
auth:
|
||||
secret: "bMa3mU4oCsX2KBex5o7GzwSnACpumFq3SdlDXYZgVTU="
|
||||
expire: 259200
|
||||
shortExpire: 15
|
||||
longExpire: 10080
|
||||
Reference in New Issue
Block a user