common.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [serve]
  2. thread = 3
  3. jyhref = "https://www.jianyu360.cn/article/content/%s.html"
  4. fields = ["agency", "agencyaddr", "agencyfee", "agencyperson", "agencyrate", "agencytel", "bid_bond", "bidamount", "biddiscount",
  5. "bidendtime", "bidmethod", "bidopen_shape", "bidopenaddress", "bidopentime", "bidstarttime", "budget", "buyer", "buyeraddr",
  6. "buyerperson", "buyertel", "area", "city", "district", "construction_area", "floor_area", "contractcode", "docamount", "docendtime",
  7. "docstarttime", "est_purchase_amount", "est_purchase_time", "funds", "is_joint_bidding", "payway", "project_person", "project_phone",
  8. "project_scale", "projectaddr", "projectcode", "projectname", "projectperiod", "projectscope", "project_duration", "project_timeunit",
  9. "quote_mode", "signaturedate", "signendtime", "signstarttime", "total_investment", "s_winner", "winneraddr", "winnerperson", "winnertel",
  10. "basicClass", "enterprise_qualification", "personnel_qualification", "performance_qualification", "enterprise_credit", "package",
  11. "purchasinglist", "procurementlist", "winnerorder"
  12. ]
  13. [db]
  14. [db.mongo]
  15. addr = "192.168.3.71:29099"
  16. dbname = "wjh"
  17. coll = "bidding_credible"
  18. size = 5
  19. user = ""
  20. password = ""
  21. [db.mongoBz]
  22. addr = "192.168.3.71:29099"
  23. dbname = "wjh"
  24. coll = "A_20230908"
  25. size = 5
  26. [db.mongoE]
  27. addr = "192.168.3.71:29099"
  28. dbname = "wjh"
  29. coll = "result_20220218"
  30. size = 5
  31. [db.mongoS]
  32. addr = "192.168.3.71:29099"
  33. dbname = "wjh"
  34. coll = "site"
  35. size = 5
  36. user = ""
  37. password = ""
  38. # 日志
  39. [log]
  40. # 日志路径,为空将输出控制台
  41. logpath = ""
  42. # log size (M)
  43. maxsize = 10
  44. # compress log
  45. compress = true
  46. # log save time (day)
  47. maxage = 7
  48. # save total log file total
  49. maxbackups = 10
  50. # log level
  51. loglevel = "debug"
  52. # text or json output
  53. format = "text"