50 lines
938 B
Go
50 lines
938 B
Go
# Server configuration.
|
|
server:
|
|
address: ":9000"
|
|
openapiPath: "/api.json"
|
|
swaggerPath: "/swagger"
|
|
|
|
# Logger configuration.
|
|
logger:
|
|
level : "all"
|
|
stdout: true
|
|
|
|
# Database configuration.
|
|
database:
|
|
logger:
|
|
level: "all"
|
|
stdout: true
|
|
default:
|
|
link: "mysql:root:MSms0427@tcp(localhost:3306)/arenax?loc=Local&charset=utf8mb4"
|
|
debug: true
|
|
|
|
# Redis configuration.
|
|
redis:
|
|
default:
|
|
address: "127.0.0.1:6379"
|
|
|
|
# Casbin model
|
|
casbin:
|
|
modelPath: "./manifest/config/rbac_model.conf"
|
|
|
|
#
|
|
wechat:
|
|
appId: "wx056fad20f1bd9110"
|
|
appSecret: "4269b5a2bb0274e805b43efb3fbd232a"
|
|
ticketExpire: 60
|
|
token: "arenax"
|
|
|
|
#OSS配置
|
|
oss:
|
|
aliyun:
|
|
bucket: "waipretty"
|
|
key: "LTAI4FhJV8uQvgSzviJ5tgcP"
|
|
secret: "Zc5E5CO4fqsXTIFsq4SHIaaXO4beJm"
|
|
endpoint: "oss-us-east-1.aliyuncs.com"
|
|
|
|
gamelife:
|
|
platId: "quanyou"
|
|
secret: "LqPQ2gbF"
|
|
mode: "test"
|
|
rsaKey: "./manifest/config/全游-测试环境密钥.txt"
|