application-test.yml 1.6 KB

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