bootstrap.yml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. spring:
  2. profiles:
  3. active: dev
  4. application:
  5. name: rw-quality-inspection
  6. jta:
  7. atomikos:
  8. properties:
  9. log-base-name: rwbusinesslog
  10. servlet:
  11. multipart:
  12. max-file-size: 100MB
  13. max-request-size: 1000MB
  14. main:
  15. allow-bean-definition-overriding: true
  16. server:
  17. port: 9689
  18. management:
  19. endpoints:
  20. web:
  21. exposure:
  22. include: "*"
  23. feign:
  24. client:
  25. config:
  26. default:
  27. connectTimeout: 5000
  28. readTimeout: 5000
  29. sentinel:
  30. enabled: true
  31. jwt:
  32. token-header: Authorization
  33. expire: 14400
  34. rsa-secret: xx1WET12^%3^(WE45
  35. client:
  36. id: ace-auth
  37. secret: 123456
  38. token-header: x-client-token
  39. expire: 14400
  40. rsa-secret: x2318^^(*WRYQWR(QW&T
  41. mybatis-plus:
  42. configuration:
  43. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  44. log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
  45. map-underscore-to-camel-case: false
  46. #basepackage: com.rongwei.rwadmin.system.dao
  47. xmlLocation: classpath:mybatis/**/*Dao.xml
  48. mapperLocations: "classpath:mybatis/**/*Dao.xml"
  49. typeAliasesPackage: com.rongwei.bsentity.domain
  50. global-config:
  51. db-config:
  52. logic-delete-value: 1
  53. logic-not-delete-value: 0
  54. column-like: true
  55. #onlyoffice配置
  56. onloyoffice:
  57. token:
  58. secret: 7QbEwl3MpE5mXinkecydGwhre7sJWN
  59. expire: 240 # 分钟
  60. office:
  61. # 本机地址,需要注意【这个ip需要与[api]中的ip能ping通】
  62. ip: http://61.177.40.178:4300/mlApi/common
  63. # onlyoffice服务器的js文件,ip是服务器地址
  64. api: http://61.177.40.178:8888/web-apps/apps/api/documents/api.js
  65. # 交互地址
  66. callbackUrl: /onlyoffice/callback?fileId=
  67. # 文件下载地址
  68. downloadUrl: /onlyoffice/downloadFile/
  69. lang: zh
  70. # logo:
  71. # image: https://www.risencn.com/r/cms/www/default/risen/public/img/header-logo1.png
  72. # imageEmbedded: https://www.risencn.com/r/cms/www/default/risen/public/img/header-logo1.png
  73. # url: http://www.baidu.com
  74. # 回退地址
  75. goBack: ${office.ip}
  76. # 可查看类型
  77. viewedDocs: [.pdf,.djvu,.xps,.oxps]
  78. # 可编辑类型
  79. editedDocs: [.docx,.xlsx,.csv,.pptx,.txt,.docxf]
  80. # 可类型转换类型
  81. convertDocs: [.docm,.dotx,.dotm,.dot,.doc,.odt,.fodt,.ott,.xlsm,.xlsb,.xltx,.xltm,.xlt,.xls,.ods,.fods,.ots,.pptm,.ppt,.ppsx,.ppsm,.pps,.potx,.potm,.pot,.odp,.fodp,.otp,.rtf,.mht,.html,.htm,.xml,.epub,.fb2]
  82. # 报送
  83. bs-provider:
  84. url: http://61.177.40.178:5500/api/