first commit

This commit is contained in:
ytc1012
2025-11-18 18:08:48 +08:00
commit de90ad79ea
162 changed files with 28098 additions and 0 deletions

56
data/conf/env.ini Normal file
View File

@@ -0,0 +1,56 @@
[mysql]
host = 127.0.0.1
port = 3306
user = root
password = root
dbname = slgdb
charset = utf8
; 最大空闲连接数
max_idle = 2
; 最大打开连接数
max_conn = 10
[httpserver]
host =
port = 8088
[gateserver]
host =
port = 8004
need_secret = true
slg_proxy = ws://127.0.0.1:8001
chat_proxy = ws://127.0.0.1:8002
login_proxy = ws://127.0.0.1:8003
[slgserver]
host =
port = 8001
need_secret = false
[chatserver]
host =
port = 8002
need_secret = false
[loginserver]
host =
port = 8003
need_secret = false
[xorm]
show_sql = true
log_file = ../logs/sql.log
[log]
file_dir = ../logs/
max_size = 120
max_backups = 100
max_age = 10
compress = true
[logic]
map_data = data/conf/mapRes_0.json
json_data = data/conf/json/
server_id = 1