# log-path = "./logs" # http-port = 80 url-path = "" startday= "2022-02-22" # 发送全服邮件中使用的uid userId = "10000006" # mongo 默认服务器端口 mongo-port = "20001" # gtoken配置文件 [gtoken] # 缓存模式 1 gcache 2 gredis cache-mode = 1 # 是否支持多端登录 multi-login = true [server] Address = ":8083" ServerRoot = "public" LogPath = "./logs" # IndexFiles = ["index.php", "main.php"] AccessLogEnabled = false ErrorLogEnabled = true PProfEnabled = true # SessionIdName = "MySessionId" # SessionPath = "/tmp/MySessionStoragePath" # SessionMaxAge = "24h" # DumpRouterMap = false # 全局日志配置 [logger] Path = "./logs" Level = "all" Stdout = true # 模板引擎配置 [viewer] # Path = "./template" DefaultFile = "index.html" Delimiters = ["${", "}"] # title设置 [setting] title = "配置管理中心" # WebServer管理 [admin] user = "admin" pass = "admin" [database] #数据库配置 default = true link = "mysql:root:f7bd979b98fb334d@tcp(127.0.0.1:3306)/gm?charset=utf8mb4&parseTime=True&loc=Local" [mongo] default = "mongodb://172.0.0.1:27017" [redis] #Redis数据库配置 default = "127.0.0.1:6379,0" cache = "127.0.0.1:6379,1?idleTimeout=600" [db] # X1韩国测试 itemlog = "x5_tk_login" login = "x5_tk_login" core = "x5_tk_login" prefix = "x5_tk_game_" # 游戏名字(百度-计收独代数据用) [game] name = "errorcity" # 是否需要导出 0:不导出; 1:导出 export = "1"