diff --git a/etc/cfg.yml b/etc/cfg.yml index a457b4e..fe71d59 100644 --- a/etc/cfg.yml +++ b/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'