You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.8 KiB

2 years ago
2 years ago
  1. spring:
  2. datasource:
  3. type: com.alibaba.druid.pool.DruidDataSource
  4. druid:
  5. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  6. type: com.alibaba.druid.pool.DruidDataSource
  7. #url: jdbc:sqlserver://xujiesoft.vicp.net:11512;databaseName=XJMES
  8. url: jdbc:sqlserver://192.168.1.90:1433;databaseName=ccl_plm
  9. username: sa
  10. password: XJsoft123
  11. initial-size: 10
  12. max-active: 100
  13. min-idle: 10
  14. max-wait: 60000
  15. pool-prepared-statements: true
  16. max-pool-prepared-statement-per-connection-size: 20
  17. time-between-eviction-runs-millis: 60000
  18. min-evictable-idle-time-millis: 300000
  19. #Oracle需要打开注释
  20. #validation-query: SELECT 1 FROM DUAL
  21. test-while-idle: true
  22. test-on-borrow: false
  23. test-on-return: false
  24. stat-view-servlet:
  25. allow: ""
  26. enabled: true
  27. url-pattern: /druid/*
  28. #login-username: admin
  29. #login-password: admin
  30. filter:
  31. stat:
  32. enabled: true
  33. log-slow-sql: true
  34. slow-sql-millis: 1000
  35. merge-sql: false
  36. wall:
  37. config:
  38. multi-statement-allow: true
  39. web-stat-filter:
  40. url-pattern: /*
  41. exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
  42. session-stat-enable: true
  43. #文件的存放的路径
  44. sys-file:
  45. file-path: 'D:\plm-file' #不可以放入中文字符
  46. # ifs接口路径
  47. ifs-api:
  48. api-url: 'http://192.168.1.184:8068'
  49. # ifs接口控制 (false 禁止调用;true 开启调用)
  50. ifs-control:
  51. control-flag: false
  52. # OA接口路径
  53. oa-api:
  54. api-url: 'http://192.168.1.184:8080'
  55. # OA接口控制 (false 禁止调用;true 开启调用)
  56. oa-control:
  57. control-flag: false
  58. # 消息来源(OA)
  59. oa-code:
  60. code: "553"