vip-service-test.toml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. MsgURI = "http://uat-message.bilibili.com"
  4. PayURI = "http://pay.bilibili.co"
  5. vipURI = "http://uat-vip.bilibili.co"
  6. [payConf]
  7. CustomerID = 10004
  8. Token ="0ff3d296ee0d7a28b4db1d761d2db907"
  9. OrderNotifyURL ="http://uat-vip.bilibili.co/pay/payOrderNotify"
  10. SignNotifyURL ="http://uat-vip.bilibili.co/pay/paySignNotify"
  11. returnUrl = "https://uat-account.bilibili.com/account/big?type=payCallBack"
  12. PlanID = 108217
  13. ProductID ="vip_buy"
  14. Version ="1.0"
  15. OrderExpire = 600
  16. SignType = "MD5"
  17. IAPProductID = {1 = "tv.danmaku.bilianimex1VIPbf1",3="tv.danmaku.bilianimex3VIPbf1",12="tv.danmaku.bilianimex12VIPbf1"}
  18. AutoProductID = "tv.danmaku.bilianimexAuto1VIP"
  19. ProductIDTpl = "VIP_DEFAULT_PRODUCT_%d"
  20. [property]
  21. annualVipBcoinDay = 10
  22. annualVipBcoinCouponMoney = 5
  23. annualVipBcoinCouponActivityId = 142
  24. MsgURL = "http://uat-message.bilibili.com"
  25. PayURL = "http://uat-pay.bilibili.com"
  26. PayCoURL = "http://pay.bilibili.co"
  27. AccountURL = "http://account.bilibili.com/api"
  28. PassportURL = "http://passport.bilibili.co"
  29. pointGetRule = {2 = 20,3 = 50}
  30. VipURL = "http://uat-vip.bilibili.co"
  31. pointActiveDate = {startDate = "2018-02-01",endDate = "2018-04-01"}
  32. payType = {android ="alipay,wechat,bp",ios="iospay"}
  33. payChannelMapping = {3="wechat",100="IAP",10015="wechat"}
  34. expireDay = 60
  35. activeDate = "2018-01-01"
  36. pointBalance = 1250
  37. BubbleTicker = "60s"
  38. TokenBID="account"
  39. apiURL="http://uat-api.bilibili.com"
  40. apiCoUrl = "http://uat-api.bilibili.co"
  41. confMap = {1="限时五折",2="五折"}
  42. pointExchangeTitle = {title = "您的积分足以兑换%s大会员,快去兑换吧!",expired = "300"}
  43. WillExpiredTitle = {title = "您的大会员资格即将失效,快点续期吧!",expired = "250"}
  44. expiredTitle = {title = "您的大会员资格已经失效,快点续期吧!",expired = "200"}
  45. tipButtonName = "开通"
  46. tipButtonLink = "bilibili://user_center/vip/buy/22"
  47. allowanceSwitch = 1
  48. codeSwitch = 1
  49. giveSwitch = 1
  50. codeOpenedSearchSize = 5
  51. panelBgURL = "http://i0.hdslb.com/bfs/vip/BG@3x.png"
  52. welfareBgHost = "http://uat-i%v.hdslb.com"
  53. [bm]
  54. addr = "0.0.0.0:6821"
  55. maxListen = 1000
  56. timeout = "2s"
  57. [rpcServer2]
  58. [[rpcServer2.servers]]
  59. proto = "tcp"
  60. addr = "0.0.0.0:6009"
  61. weight = 10
  62. [rpcServer2.zookeeper]
  63. root = "/microservice/vip/"
  64. addrs = ["172.18.33.50:2199","172.18.33.51:2199","172.18.33.52:2199"]
  65. timeout = "1s"
  66. [memcache]
  67. name = "vip"
  68. proto = "tcp"
  69. addr = "172.18.33.60:11234"
  70. idle = 8
  71. active = 10
  72. dialTimeout = "1s"
  73. readTimeout = "1s"
  74. writeTimeout = "1s"
  75. idleTimeout = "10s"
  76. expire = "24h"
  77. [identify]
  78. whiteAccessKey = ""
  79. whiteMid = 0
  80. [identify.app]
  81. key = "6a29f8ed87407c11"
  82. secret = "d3c5a85f5b895a03735b5d20a273bc57"
  83. [identify.memcache]
  84. name = "go-business/identify"
  85. proto = "unix"
  86. addr = "/tmp/uat-platform-identify-mc.sock"
  87. active = 5
  88. idle = 3
  89. dialTimeout = "1s"
  90. readTimeout = "1s"
  91. writeTimeout = "1s"
  92. idleTimeout = "80s"
  93. [identify.host]
  94. auth = "http://uat-passport.bilibili.com"
  95. secret = "http://uat-open.bilibili.com"
  96. [identify.httpClient]
  97. key = "f022126a8a365e20"
  98. secret = "b7b86838145d634b487e67b811b8fab2"
  99. dial = "30ms"
  100. timeout = "100ms"
  101. keepAlive = "60s"
  102. [identify.httpClient.breaker]
  103. window = "10s"
  104. sleep = "100ms"
  105. bucket = 10
  106. ratio = 0.5
  107. request = 100
  108. [identify.httpClient.url]
  109. "http://uat-passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
  110. "http://uat-passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
  111. "http://uat-open.bilibili.co/api/getsecret" = {timeout = "500ms"}
  112. [mysql]
  113. addr = "172.16.33.205"
  114. dsn = "zhaozhihao:MN9havOfnzY3kd6L78IVucRxgywe0p2P@tcp(172.16.33.205:3308)/bilibili_vip?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  115. active = 5
  116. idle = 2
  117. IdleTimeout ="4h"
  118. queryTimeout = "2s"
  119. execTimeout = "2s"
  120. tranTimeout = "2s"
  121. [mysql.breaker]
  122. window = "3s"
  123. sleep = "100ms"
  124. bucket = 10
  125. ratio = 0.5
  126. request = 100
  127. [oldMysql]
  128. addr = "172.22.34.101"
  129. dsn = "vip:qwDb5kQ0syUIo8EKNGrAvcdZLCnROm4j@tcp(172.22.34.101:3309)/vip?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  130. active = 8
  131. idle = 5
  132. IdleTimeout ="4h"
  133. queryTimeout = "200ms"
  134. execTimeout = "200ms"
  135. tranTimeout = "300ms"
  136. [oldMysql.breaker]
  137. window = "3s"
  138. sleep = "100ms"
  139. bucket = 10
  140. ratio = 0.5
  141. request = 100
  142. [redis]
  143. name = "vip"
  144. proto = "tcp"
  145. addr = "172.18.33.61:6879"
  146. idle = 10
  147. active = 10
  148. dialTimeout = "1s"
  149. readTimeout = "1s"
  150. writeTimeout = "1s"
  151. idleTimeout = "10s"
  152. expire = "1m"
  153. [httpClient]
  154. key = "f022126a8a365e20"
  155. secret = "b7b86838145d634b487e67b811b8fab2"
  156. dial = "1s"
  157. timeout = "2s"
  158. keepAlive = "60s"
  159. [httpClient.breaker]
  160. window = "10s"
  161. sleep = "100ms"
  162. bucket = 10
  163. ratio = 0.5
  164. request = 100
  165. [rpcClient2]
  166. [rpcClient2.account]
  167. timeout = "1s"
  168. [rpcClient2.point]
  169. timeout = "1s"
  170. [rpcClient2.coupon]
  171. timeout = "1s"
  172. [rpcClient2.member]
  173. timeout = "300ms"
  174. [associateConf]
  175. grantDurationMap = {1=8,12=3}
  176. bilibiliBuyDurationMap = {1=9,12=5}
  177. actStartTime = 1544488082
  178. actEndTime = 1554488082
  179. bilibiliPrizeGrantKeyMap = {"coupon_ele_1"="193710024520181211112507","coupon_ele_2"="421488078220181211112656"}
  180. mailCouponID1="9c09cb6a8950753a"
  181. mailCouponID2="3d005e8ba01c5cb0"
  182. [eLEConf]
  183. key = "4400479257"
  184. secret = "23x01bb2592378e55a874c5f0073884ec2f2d869"
  185. [Host]
  186. ele = "https://httpizza.ele.me/base.openapi.proxy.ppe"
  187. mail = "http://uat-mall.bilibili.co"
  188. [wardenServer]
  189. addr = "0.0.0.0:9000"
  190. timeout = "3s"