- 注释掉 OSS预签名 URL 缓存刷新任务的定时执行代码 - 在 hero/hero.go 中增加对 Redis缓存和英雄数据集的非空校验 - 修改 OSS预签名 URL 生成逻辑,自动替换为 CDN 域名
23 lines
503 B
Go
23 lines
503 B
Go
# https://goframe.org/docs/web/server-config-file-template
|
|
server:
|
|
address: ":8283"
|
|
openapiPath: "/api.json"
|
|
swaggerPath: "/swagger"
|
|
|
|
# https://goframe.org/docs/core/glog-config
|
|
logger:
|
|
level: "all"
|
|
stdout: true
|
|
|
|
# https://goframe.org/docs/core/gdb-config-file
|
|
database:
|
|
default:
|
|
link: "mysql:root:hu123456@tcp(193.112.151.199:3306)/wow"
|
|
debug: true
|
|
|
|
# https://goframe.org/docs/core/gredis-config-file
|
|
redis:
|
|
default:
|
|
address: "193.112.151.199:6379"
|
|
db: 0
|
|
pass: "hu123" |