application-test.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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: 6379
  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. - /repair/application-forms/**
  57. - /sb/infos/**
  58. upload:
  59. root-dir: /home/data/XiAnConstructionAsset/FileData
  60. platform:
  61. slf4j:
  62. data: /data/xajg
  63. ## 阿里云短信配置
  64. aliyun:
  65. message:
  66. regionId: cn-hangzhou
  67. accessKeyId: u4dWx6Jxp4UJNqPj
  68. accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
  69. remove:
  70. capitalType: 5
  71. companyId: 5e902722d762f008b01b9ee1