蛋蛋星球 后台端
 
 
 
 

38 rindas
730 B

  1. # debug release test
  2. debug: true
  3. prd: false
  4. local: true
  5. # 缓存
  6. redis_addr: '120.24.28.6:32572'
  7. app_comm:
  8. url: http://127.0.0.1:5003
  9. admin:
  10. api_aes_key: e{&[^<wpliI$AgKs:>Ft(.~g]1eR-]VO
  11. api_aes_iv: ZV`7<5X]/2brS@sz
  12. # 数据库
  13. db:
  14. host: '119.23.182.117:3306'
  15. name: 'egg'
  16. user: 'root'
  17. psw: 'Fnuo123com@'
  18. show_log: true
  19. max_lifetime: 30
  20. max_open_conns: 100
  21. max_idle_conns: 100
  22. path: 'tmp/task_sql_%v.log'
  23. # 日志
  24. log:
  25. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  26. is_stdout: true
  27. time_format: 'standard' # sec, second, milli, nano, standard, iso
  28. encoding: 'console'
  29. is_file_out: true
  30. file_dir: './tmp/'
  31. file_max_size: 256
  32. file_max_age: 1
  33. file_name: 'task.log'