application-dev.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. - /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. platform:
  78. slf4j:
  79. data: D://xajg
  80. ## 阿里云短信配置
  81. aliyun:
  82. message:
  83. regionId: cn-hangzhou
  84. accessKeyId: u4dWx6Jxp4UJNqPj
  85. accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
  86. remove:
  87. capitalType: 5
  88. companyId: 5e902722d762f008b01b9ee1