application-dev.yml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. server:
  2. # 端口号
  3. port: 5000
  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: 11
  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. - /sb/infos/**
  54. - /upms/logs/**
  55. - /upms/dicts/data
  56. - /operate/**
  57. - /users/**
  58. - /users/work/**
  59. - /druid/**
  60. - app-versions/**
  61. - /files/**
  62. - /mobile/token
  63. - /verify/**
  64. - /test/test/**
  65. - /static/**
  66. - /service/**
  67. - /ignores/**
  68. - /wechat/**
  69. upload:
  70. root-dir: D://data//xian
  71. platform:
  72. slf4j:
  73. data: D://xajg
  74. ## 阿里云短信配置
  75. aliyun:
  76. message:
  77. regionId: cn-hangzhou
  78. accessKeyId: u4dWx6Jxp4UJNqPj
  79. accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
  80. remove:
  81. capitalType: 5
  82. companyId: 5e902722d762f008b01b9ee1