config.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. [mongo] ## 标讯地址
  2. host = "127.0.0.1:27083"
  3. # host = "172.17.189.140:27080"
  4. db = "mixdata"
  5. coll = "qyxy_std"
  6. username = "SJZY_RWbid_ES"
  7. password = "SJZY@B4i4D5e6S"
  8. direct = true ## 本地代理时需要打开,
  9. ## 测试环境
  10. # host = "192.168.3.149:27102"
  11. # db = "qfw_data"
  12. # coll = "wcc_special_gov_unit"
  13. ## coll = "wcc_special_enterprise"
  14. # username = "root"
  15. # password = "root"
  16. [mongoqy] ## 181 凭安数据
  17. # host = "172.17.4.181:27001"
  18. host = "127.0.0.1:27001"
  19. db = "mixdata"
  20. username = ""
  21. password = ""
  22. direct = true ## 本地代理时需要打开,
  23. [esa] ## 华为云集群2
  24. # url = "http://172.17.4.184:19908" ## 线上地址
  25. # url = "http://127.0.0.1:19908"
  26. # username = "jybid"
  27. # password = "Top2023_JEB01i@31"
  28. url = "http://192.168.3.149:9201"
  29. username = ""
  30. password = ""
  31. [esb] ## 华为云集群1
  32. # url = "http://172.17.4.184:19905" ## 线上地址
  33. # url = "http://127.0.0.1:19905"
  34. # username = "jybid"
  35. # password = "Top2023_JEB01i@31"
  36. [clickhouse] ## clickhouse 数据库
  37. # host = "cc-2ze9tv451wov14w9e.clickhouse.ads.aliyuncs.com:9000"
  38. # host = "localhost:18124"
  39. # username = "biservice"
  40. # password = "Bi_top95215#"
  41. ### 测试环境
  42. host = "192.168.3.207:19000"
  43. username = "jytop"
  44. password = "pwdTopJy123"
  45. db = "information"
  46. [mysql] ## mysql
  47. host = "192.168.3.14:4000"
  48. username = "root"
  49. password = "=PDT49#80Z!RVv52_z"
  50. db = "global_common_data"
  51. [env]
  52. start = -2 ## 开始取2天前的数据,
  53. end = -1 ## 截止取1天前的数据,
  54. spec = "0 50 23 * * *" ## 定时任务,每天23点50执行;更新法人库Bitmap
  55. spec2 = "0 0 18 * * 6" ## 定时任务,没周六18点执行,读取更新凭安数据,
  56. esindex = "ent_info" ## 更新索引的数据表;法人库
  57. [log]
  58. # 日志路径,为空将输出控制台
  59. # logpath = ""
  60. logpath = "logs/log.out"
  61. # log size (M)
  62. maxsize = 10
  63. # compress log
  64. compress = true
  65. # log save time (day)
  66. maxage = 7
  67. # save total log file total
  68. maxbackups = 10
  69. # log level
  70. loglevel = "debug"
  71. # text or json output
  72. format = "json"