dengbiao 1 mês atrás
pai
commit
995f46ecfc
1 arquivos alterados com 14 adições e 14 exclusões
  1. +14
    -14
      etc/cfg.yml

+ 14
- 14
etc/cfg.yml Ver arquivo

@@ -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'


Carregando…
Cancelar
Salvar