feat: 积分质押功能

This commit is contained in:
2025-04-03 16:17:20 +08:00
parent 229f1d181b
commit 8119bcefdc
40 changed files with 2552 additions and 108 deletions

View File

@@ -13,10 +13,11 @@ import (
type Config struct {
rest.RestConf
MySql MySqlConf
Redis redis.RedisConf
Cache cache.CacheConf
Auth struct {
MySql MySqlConf
GameDB MySqlConf
Redis redis.RedisConf
Cache cache.CacheConf
Auth struct {
AccessSecret string
AccessExpire time.Duration `json:",default=168h"`
}
@@ -34,6 +35,7 @@ type Config struct {
PrivateKey string
IsTest bool `json:",default=false"`
} `json:",optional"`
NovaToken string `json:",default=JInj73uK5gK5BG7I53h5PaEJH41tWwBT"`
}
type Cron struct {