application-test.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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.qq.com #发送邮件服务器
  33. username: 370516181@qq.com #发送邮件的邮箱地址
  34. password: aycpczvrnthpbgie #客户端授权码,不是邮箱密码,这个在qq邮箱设置里面自动生成的
  35. #password: p8ba59KF8wijE7yU
  36. properties.mail.smtp.port: 465 #端口号465或587
  37. from: 370516181@qq.com # 发送邮件的地址,和上面username一致
  38. properties.mail.smtp.starttls.enable: true
  39. properties.mail.smtp.starttls.required: true
  40. properties.mail.smtp.ssl.enable: true
  41. default-encoding: utf-8
  42. # 直接放行URL
  43. ignore:
  44. urls:
  45. - /upms/logs/**
  46. - /upms/dicts/data
  47. - /operate/**
  48. - /users/**
  49. - /users/work/**
  50. - /druid/**
  51. - /app-versions/**
  52. - /verify/**
  53. - /files/**
  54. - /mobile/token
  55. - /verify/captcha/**
  56. - /static/**
  57. - /service/**
  58. - /ignores/**
  59. - /wechat/**
  60. upload:
  61. root-dir: /home/data/XiAnConstructionAsset/FileData
  62. platform:
  63. slf4j:
  64. data: /data/xajg
  65. ## 阿里云短信配置
  66. aliyun:
  67. message:
  68. regionId: cn-hangzhou
  69. accessKeyId: u4dWx6Jxp4UJNqPj
  70. accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
  71. remove:
  72. capitalType: 5
  73. companyId: 5e902722d762f008b01b9ee1