application.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. server:
  2. servlet:
  3. context-path: /pump
  4. spring:
  5. profiles:
  6. # 使用生产环境
  7. active: prod
  8. main:
  9. allow-bean-definition-overriding: true
  10. mybatis-plus:
  11. mapper-locations: classpath*:mapper/**/*Mapper.xml
  12. # global-config:
  13. #字段策略 0:"忽略判断",1:"非 NULL 判断",2:"非空判断"
  14. # field-strategy: 0
  15. # db-config:
  16. #主键类型 AUTO:"数据库ID自增" INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  17. # id-type: auto
  18. # configuration:
  19. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  20. type-handlers-package: com.tuoren.web.layer.mapper.handler
  21. # global-config:
  22. # db-config:
  23. # update-strategy: ignored
  24. # shiro
  25. shiro:
  26. hash-algorithm-name: md5
  27. hash-iterations: 2
  28. anon-urls:
  29. - /index.html*
  30. - /sys/toLogin*
  31. - /login/**
  32. - /login/getCode
  33. - /resources/**
  34. - /register/register*
  35. - /swagger-ui.html
  36. - /swagger-resources/**
  37. - /v2/**
  38. - /webjars/**
  39. - /druid/**
  40. - /css/**
  41. - /js/**
  42. - /user/login/**
  43. login-url: /login.html
  44. log-out-url: /logout*
  45. authc-ulrs:
  46. - /register
  47. file:
  48. listener-time: 9000