config.yaml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. aliyun-oss:
  2. endpoint: yourEndpoint
  3. access-key-id: yourAccessKeyId
  4. access-key-secret: yourAccessKeySecret
  5. bucket-name: yourBucketName
  6. bucket-url: yourBucketUrl
  7. base-path: yourBasePath
  8. autocode:
  9. transfer-restart: true
  10. root: D:\project
  11. server: /server
  12. server-api: /api/v1/%s
  13. server-plug: /plugin/%s
  14. server-initialize: /initialize
  15. server-model: /model/%s
  16. server-request: /model/%s/request/
  17. server-router: /router/%s
  18. server-service: /service/%s
  19. web: /web/src
  20. web-api: /api
  21. web-form: /view
  22. web-table: /view
  23. aws-s3:
  24. bucket: xxxxx-10005608
  25. region: ap-shanghai
  26. endpoint: ""
  27. s3-force-path-style: false
  28. disable-ssl: false
  29. secret-id: xxxxxxxx
  30. secret-key: xxxxxxxx
  31. base-url: https://gin.vue.admin
  32. path-prefix: log-server
  33. captcha:
  34. key-long: 6
  35. img-width: 240
  36. img-height: 80
  37. cors:
  38. mode: whitelist
  39. whitelist:
  40. - allow-origin: example1.com
  41. allow-methods: GET, POST
  42. allow-headers: content-type
  43. expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,
  44. Content-Type
  45. allow-credentials: true
  46. - allow-origin: example2.com
  47. allow-methods: GET, POST
  48. allow-headers: content-type
  49. expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,
  50. Content-Type
  51. allow-credentials: true
  52. db-list:
  53. - disable: false
  54. type: ""
  55. alias-name: ""
  56. path: ""
  57. port: ""
  58. config: ""
  59. db-name: ""
  60. username: ""
  61. password: ""
  62. max-idle-conns: 10
  63. max-open-conns: 100
  64. log-mode: ""
  65. log-zap: false
  66. email:
  67. to: xxx@qq.com
  68. port: 465
  69. from: xxx@163.com
  70. host: smtp.163.com
  71. is-ssl: true
  72. secret: xxx
  73. nickname: test
  74. excel:
  75. dir: ./resource/excel/
  76. hua-wei-obs:
  77. path: you-path
  78. bucket: you-bucket
  79. endpoint: you-endpoint
  80. access-key: you-access-key
  81. secret-key: you-secret-key
  82. jwt:
  83. signing-key: 73add799-ce1e-4e6b-8631-f063d80c03d3
  84. expires-time: 604800
  85. buffer-time: 86400
  86. issuer: qmPlus
  87. local:
  88. path: uploads/file
  89. store-path: uploads/file
  90. script-path: uploads/file/scriptFile
  91. mysql:
  92. path: 120.92.140.20
  93. port: "3306"
  94. config: charset=utf8mb4&parseTime=True&loc=Local
  95. db-name: backend-server
  96. username: backend-server
  97. password: 2f88080966
  98. max-idle-conns: 10
  99. max-open-conns: 100
  100. log-mode: info
  101. log-zap: false
  102. pgsql:
  103. path: ""
  104. port: ""
  105. config: ""
  106. db-name: ""
  107. username: ""
  108. password: ""
  109. max-idle-conns: 10
  110. max-open-conns: 100
  111. log-mode: ""
  112. log-zap: false
  113. qiniu:
  114. zone: ZoneHuaDong
  115. bucket: ""
  116. img-path: ""
  117. use-https: false
  118. access-key: ""
  119. secret-key: ""
  120. use-cdn-domains: false
  121. redis:
  122. db: 8
  123. addr: 127.0.0.1:6379
  124. password: ""
  125. system:
  126. env: public
  127. addr: 8888
  128. db-type: mysql
  129. oss-type: local
  130. use-multipoint: false
  131. use-redis: false
  132. iplimit-count: 15000
  133. iplimit-time: 3600
  134. tencent-cos:
  135. bucket: xxxxx-10005608
  136. region: ap-shanghai
  137. secret-id: xxxxxxxx
  138. secret-key: xxxxxxxx
  139. base-url: https://gin.vue.admin
  140. path-prefix: log-server
  141. timer:
  142. start: true
  143. spec: '@daily'
  144. detail:
  145. - tableName: sys_operation_records
  146. compareField: created_at
  147. interval: 2160h
  148. - tableName: jwt_blacklists
  149. compareField: created_at
  150. interval: 168h
  151. zap:
  152. level: info
  153. prefix: '[log-server]'
  154. format: console
  155. director: log
  156. encode-level: LowercaseColorLevelEncoder
  157. stacktrace-key: stacktrace
  158. max-age: 30
  159. show-line: true
  160. log-in-console: true
  161. send-url:
  162. computer-send-url: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=7d095d5b-8240-45fd-a68c-baff3628d83b111"
  163. keyword-send-url: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=34cbfa5a-c31d-464f-baf8-8363d6f4ac6a111"
  164. send-url-one: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5ccfb180-c062-48b5-ae18-0c96f7c19f0b111" #深圳群
  165. get-url-arpu: "http://sy.8888888.com/v2/optimize/arpu"
  166. tx-send-mobile: "1111111111"
  167. extranet-domain:
  168. #control: "http://bpm.kfzs.com:7089"
  169. control: "http://192.168.50.35:8099"
  170. #extranet-domain:
  171. # control: "http://192.168.50.35:8099"
  172. prefix-url:
  173. prefix-local: "http://192.168.50.17:8080/api/"