common.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. [serve]
  2. msgaddr = "10.171.112.160:7070"
  3. #抽取同步字段、需要处理的字段
  4. fields = ["buyerzipcode", "winnertel", "winnerperson", "contractcode", "winneraddr", "agencyaddr", "buyeraddr", "signaturedate",
  5. "projectperiod", "projectaddr", "agencytel", "agencyperson", "buyerperson", "agency", "projectscope", "projectcode", "bidopentime",
  6. "supervisorrate", "buyertel", "bidamount", "winner", "buyer", "budget", "projectname", "buyerclass", "topscopeclass", "s_topscopeclass",
  7. "area", "city", "district", "s_winner", "toptype", "subtype", "subscopeclass", "s_subscopeclass", "dataging", "winnerorder", "project_scale",
  8. "project_duration", "project_timeunit", "project_startdate", "project_completedate", "payway", "contract_guarantee", "bid_guarantee", "qualifies",
  9. "funds", "review_experts", "bidmethod", "bidendtime", "bidopenaddress", "docamount", "bidway", "agencyrate", "agencyfee", "getdocmethod", "purchasing_tag",
  10. "package", "history_updatetime", "total_investment", "owner", "projecttype", "project_person", "project_phone", "approvedept", "construction_area",
  11. "floor_area", "bidstarttime", "docendtime", "docstarttime", "signendtime", "signstarttime", "issue_quota", "bidopen_shape", "quote_mode", "is_acquire_tender",
  12. "is_payment_deposit", "is_joint_bidding", "est_purchase_time", "est_purchase_amount", "s_project_startdate", "s_project_completedate", "enterprise_qualification",
  13. "personnel_qualification", "performance_qualification", "enterprise_credit", "is_exist_pakage", "expiredate", "contractperiod"
  14. ]
  15. [udp]
  16. locport = ":1787"
  17. [udp.next]
  18. addr = "127.0.0.1"
  19. port = 1783
  20. stype = "bidding"
  21. [udp.project]
  22. addr = "127.0.0.1"
  23. port = 1782
  24. stype = ""
  25. [udp.tidb]
  26. addr = "127.0.0.1"
  27. port = 1680
  28. stype = "subject"
  29. [udp.tidb1]
  30. addr = "127.0.0.1"
  31. port = 1681
  32. stype = ""
  33. [udp.tidb2]
  34. addr = "127.0.0.1"
  35. port = 1970
  36. stype = ""
  37. [nsq]
  38. addr = "192.168.3.166:4150"
  39. topic = "bidding_id"
  40. channel = "esindex"
  41. concurrent = 1
  42. [db]
  43. [db.mongoB]
  44. addr = "192.168.3.206:27002"
  45. dbname = "qfw_data"
  46. coll = "bidding"
  47. size = 5
  48. user = "jyDevGroup"
  49. password = "jy@DevGroup"
  50. [db.mongoE]
  51. addr = "192.168.3.71:29099"
  52. dbname = "wjh"
  53. size = 5
  54. coll = "extract"
  55. coll1 = ""
  56. user = ""
  57. password = ""
  58. [db.mongoQ]
  59. addr = "192.168.3.71:29099"
  60. dbname = "mixdata"
  61. size = 5
  62. coll = "qyxy_std"
  63. user = ""
  64. password = ""
  65. [db.mongoP]
  66. addr = "192.168.3.71:29099"
  67. dbname = "mixdata"
  68. size = 5
  69. coll = "company_history_name"
  70. user = ""
  71. password = ""
  72. [db.redis]
  73. #company_id
  74. addr = "qyxy_id=192.168.3.207:1679"
  75. dbindex = 4
  76. [db.es]
  77. addr = "http://192.168.3.241:9205,http://192.168.3.149:9200"
  78. user = ""
  79. password = ""
  80. [mail]
  81. send = false
  82. to = "wangjianghan@topnet.net.cn"
  83. api = "http://172.17.145.179:19281/_send/_mail"
  84. # 日志
  85. [log]
  86. # 日志路径,为空将输出控制台
  87. logpath = ""
  88. # log size (M)
  89. maxsize = 10
  90. # compress log
  91. compress = true
  92. # log save time (day)
  93. maxage = 7
  94. # save total log file total
  95. maxbackups = 10
  96. # log level
  97. loglevel = "debug"
  98. # text or json output
  99. format = "text"