This commit is contained in:
oneao committed 2026-01-30 17:22:20 +08:00
1 parent c62c9d080b
commit 6a8c31e20c
29 files changed
+1454 -357

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ type Config struct {
type ServerConfig struct {
Port string `mapstructure:"port" yaml:"port"`
BaseUrl string `mapstructure:"base_url" yaml:"base_url"` // 下划线
WsUrl string `mapstructure:"ws_url" yaml:"ws_url"`
}
type JwtConfig struct {
+1 -1
View File
@@ -1,7 +1,7 @@
server:
port: 8086
base_url: /app
ws_url: /ws
jwt:
secret: 3Bde3BGEbYqtqyEUzW3ry8jKFcaPH17fRmTmqE7MDr05Lwj95uruRKrrkb44TJ4s
access_expiry: -1