feat 历史记录

This commit is contained in:
2026-01-14 18:15:36 +08:00
parent 313a93702e
commit 636008b97d
16 changed files with 58 additions and 66 deletions

View File

@@ -39,4 +39,5 @@ serve:
auth:
secret: "bMa3mU4oCsX2KBex5o7GzwSnACpumFq3SdlDXYZgVTU="
expire: 259200
shortExpire: 60
longExpire: 10080

View File

@@ -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

View File

@@ -39,4 +39,5 @@ serve:
auth:
secret: "bMa3mU4oCsX2KBex5o7GzwSnACpumFq3SdlDXYZgVTU="
expire: 259200
shortExpire: 15
longExpire: 10080