dengbiao 1 个月前
父节点
当前提交
995f46ecfc
共有 1 个文件被更改,包括 14 次插入14 次删除
  1. +14
    -14
      etc/cfg.yml

+ 14
- 14
etc/cfg.yml 查看文件

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


正在加载...
取消
保存