application-dev.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. server:
  2. # 端口号
  3. port: 5001
  4. security:
  5. oauth2:
  6. client:
  7. client-id: platform
  8. client-secret: platform
  9. scope: server
  10. resource:
  11. loadBalanced: true
  12. token-info-uri: http://localhost:5000/oauth/check_token
  13. freemarker:
  14. allow-request-override: false
  15. # 开发过程建议关闭缓存
  16. cache: true
  17. check-template-location: false
  18. charset: UTF-8
  19. content-type: text/html; charset=utf-8
  20. expose-request-attributes: false
  21. expose-session-attributes: false
  22. expose-spring-macro-helpers: false
  23. request-context-attribute:
  24. # 默认后缀就是.ftl
  25. suffix: .ftl
  26. template-loader-path: classPath:/templates/
  27. spring:
  28. application:
  29. name: platform-rest
  30. redis:
  31. password:
  32. port: 6379
  33. host: localhost
  34. database: 8
  35. servlet:
  36. multipart:
  37. maxFileSize: "100MB"
  38. maxRequestSize: "1000MB"
  39. mail:
  40. host: smtp.qq.com #发送邮件服务器
  41. username: 370516181@qq.com #发送邮件的邮箱地址
  42. password: aycpczvrnthpbgie #客户端授权码,不是邮箱密码,这个在qq邮箱设置里面自动生成的
  43. #password: p8ba59KF8wijE7yU
  44. properties.mail.smtp.port: 465 #端口号465或587
  45. from: 370516181@qq.com # 发送邮件的地址,和上面username一致
  46. properties.mail.smtp.starttls.enable: true
  47. properties.mail.smtp.starttls.required: true
  48. properties.mail.smtp.ssl.enable: true
  49. default-encoding: utf-8
  50. # 直接放行URL
  51. ignore:
  52. urls:
  53. - /upms/users/**
  54. - /repair/application-forms/**
  55. - /check/jobs/**
  56. - /repair/application-forms/**
  57. - /store/stores/**
  58. - /store/spare-stores/**
  59. - /sb/infos/**
  60. - /upms/logs/**
  61. - /upms/dicts/data
  62. - /operate/**
  63. - /users/**
  64. - /users/work/**
  65. - /druid/**
  66. - app-versions/**
  67. - /files/**
  68. - /mobile/token
  69. - /verify/**
  70. - /test/test/**
  71. - /static/**
  72. - /service/**
  73. - /ignores/**
  74. - /wechat/**
  75. - /yongyou/**
  76. - /sb/measure-logs/generate/init
  77. - /operate/customers/*
  78. - /store/out-store-forms/**
  79. - /operate/customers/*
  80. - /repair/application-forms/repair/report
  81. - /websocket/**
  82. - /sb/types/**
  83. - /report/sb/infos/**
  84. - /sb/measure-logs/**
  85. - /sb/positions/**
  86. - /preparation/preparations/**
  87. - /longyanpurchaseorder/detail/**
  88. - /longyanpurchaseorder/order/**
  89. - /yongyou/**
  90. - /project/**
  91. - /repair/application-forms/**
  92. - /sb/infos/**
  93. - /yongyou/put
  94. - /merge/merge/**
  95. platform:
  96. slf4j:
  97. data: D://xajg
  98. ## 阿里云短信配置
  99. aliyun:
  100. message:
  101. regionId: cn-hangzhou
  102. accessKeyId: u4dWx6Jxp4UJNqPj
  103. accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
  104. remove:
  105. capitalType: 5
  106. companyId: 5e902722d762f008b01b9ee1
  107. scheduling:
  108. enabled: true