config.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. # https://goframe.org/docs/web/server-config-file-template
  2. server:
  3. address: ":8000"
  4. dumpRouterMap: false # 是否在Server启动时打印所有的路由列表。默认为true
  5. graceful: true # 是否开启平滑重启特性,开启时将会在本地增加10000的本地TCP端口用于进程间通信。默认false
  6. gracefulTimeout: 10 # 平滑重启父进程最大存活时间。默认2秒
  7. # https://goframe.org/docs/core/glog-config
  8. logger:
  9. level: "all"
  10. path: "logs" # 日志文件路径。默认为空,表示关闭,仅输出到终端
  11. file: "{Y-m-d}.log" # 日志文件格式。默认为"{Y-m-d}.log"
  12. # https://goframe.org/docs/core/gdb-config-file
  13. database:
  14. default:
  15. link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/jianyu"
  16. debug: true
  17. base:
  18. link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/base_service"
  19. debug: false
  20. subject:
  21. link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/Jianyu_subjectdb_test"
  22. debug: false
  23. cbs:
  24. link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/jianyu"
  25. debug: false
  26. redis:
  27. default: # 配置seo的redis
  28. address: 127.0.0.1:6379
  29. other: # 广告位
  30. address: 127.0.0.1:6379
  31. session:
  32. address: 172.20.45.129:1713
  33. newother:
  34. address: 172.20.45.129:1712
  35. mongodb:
  36. default:
  37. address: "172.20.45.129:27002,172.20.45.130:27080"
  38. size: 5
  39. dbName: qfw
  40. replSet: ""
  41. userName: ""
  42. password: ""
  43. log:
  44. address: "192.168.3.149:27190"
  45. size: 5
  46. dbName: "qfw"
  47. replSet: ""
  48. userName: "admin"
  49. password: "123456"
  50. userCenterUrl: "https://jybx2-webtest.jydev.jianyu360.com"
  51. apiList:
  52. buyBalance: "http://172.31.31.205:8889/resources/purchaseUserBalance"
  53. etcd:
  54. hosts:
  55. - 172.31.31.203:2379
  56. userCenterKey: "usercenter.rpc" #用户中台rpc
  57. powerCheckCenterKey: "powercheck.rpc" #权益校验中台
  58. entManageApplication: "entmanageapplication.rpc" #企业管理中台
  59. protocolNotice:
  60. #cron: "0 */2 * * * ?" #定时任务执行时间
  61. salerManager: -1 #销管entUserID
  62. dayLimit: 0 #几天提醒
  63. startTime: "2025-06-19 00:00:00" #通知起止时间
  64. mailConfig:
  65. - smtpHost: "smtp.exmail.qq.com"
  66. smtpPort: 465
  67. pwd: "ue9Rg9Sf4CVtdm5a"
  68. user: "public03@topnet.net.cn"
  69. - smtpHost: "smtp.exmail.qq.com"
  70. smtpPort: 465
  71. pwd: "ue9Rg9Sf4CVtdm5a"
  72. user: "public03@topnet.net.cn"
  73. examineDiscount: #自动审批折扣率
  74. VIP订阅:
  75. - min: 12
  76. max: 24
  77. discountRate: 0.8
  78. - min: 24
  79. max: 27
  80. discountRate: 0.45
  81. 大会员:
  82. - min: 0
  83. max: 6
  84. discountRate: 1
  85. - min: 6
  86. max: 12
  87. discountRate: 0.8
  88. - min: 12
  89. max: -1
  90. discountRate: 0.6
  91. trialProductApproval:
  92. - product: "大会员"
  93. day: 7
  94. - product: "VIP订阅"
  95. day: 3
  96. giftDiscount: 0.6
  97. entAnalysis: 19
  98. jyResources: "http://172.31.31.205:8889"
  99. jyPayRpc: "192.168.3.149:8600"
  100. autoReturnTaskTime: 3
  101. onlineReturnMoney: "0 */2 * * * ?"
  102. examine:
  103. - name: 部门经理
  104. userid: [30190,37,170,30183,55,96334,96542]
  105. equity: 1
  106. - name: 销管
  107. userid: [152,39,30199,96334]
  108. equity: 2
  109. - name: 管理层
  110. userid: [56,96334]
  111. equity: 5
  112. specialService: ["市场分析定制报告下载包","企业中标分析报告下载包","业主采购分析报告下载包","数据导出,导出数量"]
  113. zeroOrderType: [ "赠送","分期付款补充权益","原订单不支持开通多项权益" ]
  114. multipleSaveMsgUrl : "http://192.168.3.128:8778/messageCenter/MultipleSaveMsg"
  115. invoiceInterfaceAddress: "http://127.0.0.1:7080/Invoice/Add"
  116. jyWebDomain: "https://jybx2-webtest.jydev.jianyu360.com"
  117. shortLinkService: "https://jybx2-webtest.jydev.jianyu360.com/short/get"
  118. couponUpdate: "http://127.0.0.1:8090/lotteryStateChange"
  119. vipGiving:
  120. cycleUnit: [1,2,3]
  121. cycleCount: [0,1,2]
  122. copyHref:
  123. VIP订阅: "https://jybx2-webtest.jydev.jianyu360.com/weixin/frontPage/vipIntro/free/order_detail"
  124. request_auth: [1,2]
  125. paymentAddress: "172.31.31.205:8170"
  126. creatEntRpc: "172.31.31.205:8699"
  127. saleChangePower: [
  128. "jianyu@admin",
  129. "张胜楠"
  130. ]
  131. stampedInterest: ["刘亚丽"]
  132. saleChangeReason: ["客户退款","销售撞单"]
  133. userRightsGroup:
  134. pinTube: [94316]
  135. supAdmin: [29240]
  136. cSId: [92299]
  137. administration: []
  138. finance: [100094]
  139. entPrice: 2000
  140. esAddress: "http://172.20.45.129:9206,http://172.20.45.130:9306"
  141. esSize: 30
  142. esUserName: ""
  143. esPassword: ""
  144. nsq: "192.168.3.240:4260"
  145. qsqTopic: "jy_event"
  146. entAnalysisView: 1500
  147. entAnalysis500: 200
  148. automaticPaymentTime: 3