sms-job-test.toml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. user = "nobody"
  4. pid = "/tmp/sms-job.pid"
  5. dir = "./"
  6. perf = "0.0.0.0:7780"
  7. family = "sms-job"
  8. [log]
  9. dir = "/data/log/sms-job/"
  10. [HTTPServer]
  11. addr = "0.0.0.0:7781"
  12. maxListen = 1000
  13. timeout = "1s"
  14. readTimeout = "1s"
  15. writeTimeout = "1s"
  16. [httpClient]
  17. dial = "10s"
  18. timeout = "10s"
  19. keepAlive = "60s"
  20. key = "4699a07e59d7149e"
  21. secret = "test"
  22. [httpClient.breaker]
  23. window = "3s"
  24. sleep = "100ms"
  25. bucket = 10
  26. ratio = 0.5
  27. request = 100
  28. [databus]
  29. key = "9765cdac5894f2ba"
  30. secret = "f4237d712c3ed1e7fab0137b81418b14"
  31. group = "Sms-MainWebSvr-S"
  32. topic = "Sms-T"
  33. action = "sub"
  34. buffer = 2048
  35. name = "sms-sub"
  36. proto = "tcp"
  37. addr = "172.18.33.50:6205"
  38. idle = 100
  39. active = 100
  40. dialTimeout = "1s"
  41. readTimeout = "60s"
  42. writeTimeout = "1s"
  43. idleTimeout = "10s"
  44. [wechat]
  45. token = "GYQeuDWBbAsCNeGz"
  46. secret = "ZKpmgINTkianyMbMixyxcPQjMCSHCDrk"
  47. username = "wangjian"
  48. [provider]
  49. providers = [2,4]
  50. mengWangSmsURL = "http://43.240.124.85:8901/sms/v2/std/single_send"
  51. mengWangSmsUser = "JJ1093"
  52. mengWangSmsPwd = "000827"
  53. mengWangActURL = "http://43.240.124.85:8901/sms/v2/std/single_send"
  54. mengWangBatchURL = "http://43.240.124.85:8901/sms/v2/std/batch_send"
  55. mengWangActUser = "JJ1095"
  56. mengWangActPwd = "082705"
  57. mengWangInternationURL = "http://61.145.229.28:8803/sms/v2/std/single_send"
  58. mengWangInternationUser = "GJ1081"
  59. mengWangInternationPwd = "082706"
  60. chuangLanSmsURL = "http://smssh1.253.com/msg/send/json"
  61. chuangLanSmsUser = "N5563714"
  62. chuangLanSmsPwd = "IGpOWXdAcM7cfd"
  63. chuangLanActURL = "http://smssh1.253.com/msg/send/json"
  64. chuangLanActUser = "M2110245"
  65. chuangLanActPwd = "PJMRstTDdYbb0c"
  66. chuangLanInternationURL = "http://intapi.253.com/send/json"
  67. chuangLanInternationUser = "I5716133"
  68. chuangLanInternationPwd = "JxzpQY3sRc2066"
  69. chuangLanSmsCallbackURL = "http://smssh1.253.com/msg/pull/report"
  70. chuangLanActCallbackURL = "http://smssh1.253.com/msg/pull/report"
  71. chuangLanInternationalCallbackURL = "http://intapi.253.com/pull/report"
  72. mengWangSmsCallbackURL = "http://43.240.124.85:8901/sms/v2/std/get_rpt"
  73. mengWangActCallbackURL = "http://43.240.124.85:8901/sms/v2/std/get_rpt"
  74. mengWangInternationalCallbackURL = "http://61.145.229.28:8803/sms/v2/std/get_rpt"
  75. [speedup]
  76. switch = false
  77. mengWangSmsURL = "http://message1.biliapi.co/sms/v2/std/single_send"
  78. mengWangActURL = "http://message1.biliapi.co/sms/v2/std/single_send"
  79. mengWangBatchURL = "http://message1.biliapi.co/sms/v2/std/batch_send"
  80. mengWangInternationURL = "http://message2.biliapi.co/sms/v2/std/single_send"
  81. chuangLanSmsURL = "http://smssh1.253.biliapi.com/msg/send/json"
  82. chuangLanActURL = "http://smssh1.253.biliapi.com/msg/send/json"
  83. chuangLanInternationURL = "http://intapi.253.biliapi.com/send/json"
  84. chuangLanSmsCallbackURL = "http://smssh1.253.biliapi.com/msg/pull/report"
  85. chuangLanActCallbackURL = "http://smssh1.253.biliapi.com/msg/pull/report"
  86. chuangLanInternationalCallbackURL = "http://intapi.253.biliapi.com/pull/report"
  87. mengWangSmsCallbackURL = "http://message1.biliapi.co/sms/v2/std/get_rpt"
  88. mengWangActCallbackURL = "http://message1.biliapi.co/sms/v2/std/get_rpt"
  89. mengWangInternationalCallbackURL = "http://message2.biliapi.co/sms/v2/std/get_rpt"
  90. [sms]
  91. passportMobileUrl = "http://uat-passport.bilibili.co/intranet/acc/getTelByMid"
  92. callbackProc = 0
  93. singleSendProc = 50
  94. batchSendProc = 10
  95. monitorProcDuration = "5m"
  96. blacklist = ["8617621660828"]