config.toml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [mongob] ## bidding 链接
  2. host = "127.0.0.1:27081"
  3. # host = "172.17.189.140:27080"
  4. db = "py_theme"
  5. coll = ""
  6. username = ""
  7. password = ""
  8. direct = true
  9. list ="specialbond_list,specialbond_list_history,specialbond_list_202502" ## 列表数据表
  10. detail = "specialbond_detail,specialbond_detail_history,specialbond_detail_202502" ## 详情数据表
  11. [cron] ## 定时任务
  12. # spec = "0 */1 * * * *" ## 5分钟执行一次
  13. spec = "0 03 7,12,15,20 * * *" ## 每天7,12,15,20点执行
  14. url = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0fc090e3-ceda-448d-8aba-d00a2994be7e"## 微信群通知机器人
  15. [mysql] ## 数据库MySQL
  16. address = "127.0.0.1:3306" ## 本地
  17. dbname= "jianyu_zhuanxiangzhai" ##
  18. username = "root"
  19. password= "123"
  20. prefix = "zxz" ## mysql 数据表前缀
  21. # address = "127.0.0.1:4001" ## 本地
  22. ## address = "172.17.162.27:14000" ## 线上
  23. # dbname= "data_analysis" ##
  24. # username = "datascbi"
  25. # password= "Da#Bi20221111SC"
  26. # table = "dataexport_order" ## 订单表
  27. # etime = "" ## 数据截止时间,"2024-11-02"
  28. # test = true
  29. ## 日志
  30. # 日志
  31. [log]
  32. # 日志路径,为空将输出控制台
  33. logpath = ""
  34. # logpath = "logs/log.out"
  35. # log size (M)
  36. maxsize = 10
  37. # compress log
  38. compress = true
  39. # log save time (day)
  40. maxage = 7
  41. # save total log file total
  42. maxbackups = 10
  43. # log level
  44. loglevel = "debug"
  45. # text or json output
  46. format = "json"