bootstrap.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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:
  48. - classpath:mybatis/**/*Dao.xml
  49. - classpath*:mybatis/**/*Dao.xml
  50. mapperLocations:
  51. - "classpath:mybatis/**/*Dao.xml"
  52. - "classpath*:mybatis/**/*Dao.xml"
  53. typeAliasesPackage:
  54. - com.rongwei.bsentity.domain
  55. - com.rongwei.rwadmincommon.**.domain
  56. global-config:
  57. db-config:
  58. logic-delete-value: 1
  59. logic-not-delete-value: 0
  60. column-like: true
  61. #onlyoffice配置
  62. onloyoffice:
  63. token:
  64. secret: 7QbEwl3MpE5mXinkecydGwhre7sJWN
  65. expire: 240 # 分钟
  66. office:
  67. # 本机地址,需要注意【这个ip需要与[api]中的ip能ping通】
  68. ip: http://61.177.40.178:4300/mlApi/common
  69. # onlyoffice服务器的js文件,ip是服务器地址
  70. api: http://61.177.40.178:8888/web-apps/apps/api/documents/api.js
  71. # 交互地址
  72. callbackUrl: /onlyoffice/callback?fileId=
  73. # 文件下载地址
  74. downloadUrl: /onlyoffice/downloadFile/
  75. lang: zh
  76. # logo:
  77. # image: https://www.risencn.com/r/cms/www/default/risen/public/img/header-logo1.png
  78. # imageEmbedded: https://www.risencn.com/r/cms/www/default/risen/public/img/header-logo1.png
  79. # url: http://www.baidu.com
  80. # 回退地址
  81. goBack: ${office.ip}
  82. # 可查看类型
  83. viewedDocs: [.pdf,.djvu,.xps,.oxps]
  84. # 可编辑类型
  85. editedDocs: [.docx,.xlsx,.csv,.pptx,.txt,.docxf]
  86. # 可类型转换类型
  87. 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]
  88. # 报送
  89. bs-provider:
  90. url: http://61.177.40.178:5500/api
  91. getOrgListUrl: ${bs-provider.url}/rw-business-server/business/common/getOrgListData
  92. #顽症
  93. wz-provider:
  94. url: http://61.177.40.178:5500/api
  95. syncWzDataUrl: ${wz-provider.url}//PersistentDisease/detailedList/syncByData
  96. #luckysheet
  97. luckysheet-provider:
  98. url: http://127.0.0.1:9004
  99. sso:
  100. appid: ZPMCZLBY
  101. grantType: authorization_code
  102. appKey: 240607094900F2Krofmj5G1iUJSXBVq
  103. getTokenUrl: http://10.28.79.40:9995/websso/open/token
  104. getUserInfoUrl: http://10.28.79.40:9995/websso/open/userinfo
  105. #redis通道名称
  106. redis.channel: luckysheet.channel
  107. #表格中块的大小,新增加时写入每一个sheet的第一个模块中
  108. row_size: 1500
  109. col_size: 1500
  110. #使用服务器类型
  111. servertype: tomcat