application-test.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. server:
  2. # 端口号
  3. port: 5002
  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:5001/oauth/check_token
  13. spring:
  14. application:
  15. name: platform-rest
  16. redis:
  17. password:
  18. port: 6397
  19. host: localhost
  20. database: 4
  21. jpa:
  22. properties:
  23. hibernate:
  24. temp:
  25. use_jdbc_metadata_defaults: false
  26. dialect: org.hibernate.dialect.MySQLDialect
  27. servlet:
  28. multipart:
  29. maxFileSize: "100MB"
  30. maxRequestSize: "1000MB"
  31. mail:
  32. host: smtp.exmail.qq.com #发送邮件服务器
  33. username: chenyh@tuzhiall.com #发送邮件的邮箱地址
  34. password: Chenyuehu521 #客户端授权码,不是邮箱密码,这个在qq邮箱设置里面自动生成的
  35. properties.mail.smtp.port: 465 #端口号465或587
  36. from: chenyh@tuzhiall.com # 发送邮件的地址,和上面username一致
  37. properties.mail.smtp.starttls.enable: true
  38. properties.mail.smtp.starttls.required: true
  39. properties.mail.smtp.ssl.enable: true
  40. default-encoding: utf-8
  41. # 直接放行URL
  42. ignore:
  43. urls:
  44. - /upms/logs/**
  45. - /operate/**
  46. - /users/**
  47. - /users/work/**
  48. - /druid/**
  49. - /app-versions/**
  50. - /verify/**
  51. - /files/**
  52. - /mobile/token
  53. - /verify/captcha/**
  54. - /static/**
  55. - /service/**
  56. upload:
  57. root-dir: /home/data/XiAnConstructionAsset/FileData
  58. platform:
  59. slf4j:
  60. data: /data/xajg
  61. ## 阿里云短信配置
  62. aliyun:
  63. message:
  64. regionId: cn-hangzhou
  65. accessKeyId: u4dWx6Jxp4UJNqPj
  66. accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
  67. remove:
  68. capitalType: 5
  69. companyId: 5e902722d762f008b01b9ee1