common.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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"
  13. ]
  14. [udp]
  15. locport = ":1787"
  16. [udp.next]
  17. addr = "127.0.0.1"
  18. port = 1783
  19. stype = "bidding"
  20. [udp.project]
  21. addr = "127.0.0.1"
  22. port = 1782
  23. stype = ""
  24. [udp.tidb]
  25. addr = "127.0.0.1"
  26. port = 1680
  27. stype = "subject"
  28. [udp.tidb1]
  29. addr = "127.0.0.1"
  30. port = 1681
  31. stype = ""
  32. [udp.tidb2]
  33. addr = "127.0.0.1"
  34. port = 1970
  35. stype = ""
  36. [nsq]
  37. addr = "192.168.3.166:4150"
  38. topic = "bidding_id"
  39. channel = "esindex"
  40. concurrent = 1
  41. [db]
  42. [db.mongoB]
  43. addr = "192.168.3.71:29099"
  44. dbname = "wjh"
  45. coll = "bidding"
  46. size = 5
  47. user = ""
  48. password = ""
  49. [db.mongoE]
  50. addr = "192.168.3.71:29099"
  51. dbname = "wjh"
  52. size = 5
  53. coll = "extract"
  54. coll1 = ""
  55. user = ""
  56. password = ""
  57. [db.mongoQ]
  58. addr = "192.168.3.71:29099"
  59. dbname = "mixdata"
  60. size = 5
  61. coll = "qyxy_std"
  62. user = ""
  63. password = ""
  64. [db.mongoP]
  65. addr = "192.168.3.71:29099"
  66. dbname = "mixdata"
  67. size = 5
  68. coll = "company_history_name"
  69. user = ""
  70. password = ""
  71. [db.redis]
  72. #company_id
  73. addr = "qyxy_id=192.168.3.207:1679"
  74. dbindex = 4
  75. [mail]
  76. send = false
  77. to = "wangjianghan@topnet.net.cn"
  78. api = "http://172.17.145.179:19281/_send/_mail"
  79. # 日志
  80. [log]
  81. # 日志路径,为空将输出控制台
  82. logpath = ""
  83. # log size (M)
  84. maxsize = 10
  85. # compress log
  86. compress = true
  87. # log save time (day)
  88. maxage = 7
  89. # save total log file total
  90. maxbackups = 10
  91. # log level
  92. loglevel = "debug"
  93. # text or json output
  94. format = "text"