application.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. server:
  2. servlet:
  3. context-path: /
  4. port: 8885
  5. sa-token:
  6. activity-timeout: 18000
  7. token-name: token
  8. token-style: tik
  9. # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
  10. is-concurrent: true
  11. timeout: 604800
  12. spring:
  13. thymeleaf:
  14. cache: false
  15. mode: HTML5
  16. # # 使用 smtp 协议
  17. # mail.protocol: smtps
  18. # mail.host: smtp.exmail.qq.com
  19. # mail.port: 465
  20. # mail.username: shenyongyi@china-wispro.com
  21. # # 授权码
  22. # mail.password: c3hY5cgAexhhr9HL
  23. # mail.test-connection: false
  24. # mail.properties.mail.smtp.auth: true
  25. # mail.properties.mail.debug: false
  26. # mail.properties.mail.mime.splitlongparameters: false
  27. # mail.default-encoding: UTF-8
  28. # rabbitmq
  29. rabbitmq.host: 47.101.137.223
  30. rabbitmq.port: 5672
  31. rabbitmq.username: admin
  32. rabbitmq.password: 123456
  33. mvc:
  34. pathmatch:
  35. matching-strategy: ant_path_matcher
  36. aop:
  37. auto: true
  38. proxy-target-class: true
  39. application:
  40. name: rms
  41. servlet:
  42. multipart:
  43. max-file-size: 1000MB
  44. max-request-size: 1000MB
  45. profiles:
  46. active: dev
  47. jackson:
  48. default-property-inclusion: non_null
  49. serialization:
  50. INDENT_OUTPUT: true
  51. date-format: yyyy-MM-dd HH:mm:ss
  52. time-zone: Asia/Shanghai
  53. logging:
  54. config: classpath:config/logback-spring.xml
  55. level:
  56. cn.cslg.report.mapper: debug
  57. #mybatis
  58. mybatis-plus:
  59. typeAliasesPackage: cn.cslg.report.entity
  60. global-config:
  61. db-config:
  62. id-type: AUTO
  63. logic-delete-value: 0
  64. logic-not-delete-value: 1
  65. configuration:
  66. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  67. map-underscore-to-camel-case: true
  68. cache-enabled: false
  69. mapper-locations: classpath:mapper/*.xml
  70. PCSUrl: http://localhost:8880
  71. PASUrl: http://localhost:8879