dengbiao 1 miesiąc temu
rodzic
commit
995f46ecfc
1 zmienionych plików z 14 dodań i 14 usunięć
  1. +14
    -14
      etc/cfg.yml

+ 14
- 14
etc/cfg.yml Wyświetl plik

@@ -9,28 +9,28 @@ srv_addr: ':1002'
redis_addr: '120.24.28.6:32572'

# 连接官网数据库获取db mapping
#db:
# host: '119.23.182.117:3306'
# name: 'super_advertisement'
# user: 'root'
# psw: 'Fnuo123com@'
# show_log: true
# max_lifetime: 30
# max_open_conns: 100
# max_idle_conns: 100
# path: 'tmp/%s.log'

db:
host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306'
host: '119.23.182.117:3306'
name: 'super_advertisement'
user: 'zhios'
psw: 'ZHIoscnfnuo123@'
user: 'root'
psw: 'Fnuo123com@'
show_log: true
max_lifetime: 30
max_open_conns: 100
max_idle_conns: 100
path: 'tmp/%s.log'

#db:
# host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306'
# name: 'super_advertisement'
# user: 'zhios'
# psw: 'ZHIoscnfnuo123@'
# show_log: true
# max_lifetime: 30
# max_open_conns: 100
# max_idle_conns: 100
# path: 'tmp/%s.log'

# 日志
log:
app_name: 'applet'


Ładowanie…
Anuluj
Zapisz