1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- server:
- # 端口号
- port: 5050
- security:
- oauth2:
- client:
- client-id: platform
- client-secret: platform
- scope: server
- resource:
- loadBalanced: true
- token-info-uri: http://localhost:5000/oauth/check_token
- spring:
- application:
- name: platform-rest
- redis:
- password:
- port: 6379
- host: localhost
- database: 4
- servlet:
- multipart:
- maxFileSize: "100MB"
- maxRequestSize: "1000MB"
- mail:
- host: smtp.qq.com #发送邮件服务器
- username: 370516181@qq.com #发送邮件的邮箱地址
- password: aycpczvrnthpbgie #客户端授权码,不是邮箱密码,这个在qq邮箱设置里面自动生成的
- #password: p8ba59KF8wijE7yU
- properties.mail.smtp.port: 465 #端口号465或587
- from: 370516181@qq.com # 发送邮件的地址,和上面username一致
- properties.mail.smtp.starttls.enable: true
- properties.mail.smtp.starttls.required: true
- properties.mail.smtp.ssl.enable: true
- default-encoding: utf-8
- # 直接放行URL
- ignore:
- urls:
- - /upms/logs/**
- - /upms/dicts/data
- - /operate/**
- - /users/**
- - /users/work/**
- - /druid/**
- - /app-versions/**
- - /verify/**
- - /files/**
- - /mobile/token
- - /verify/captcha/**
- - /static/**
- - /service/**
- - /ignores/**
- - /wechat/**
- - /yongyou/**
- platform:
- slf4j:
- data: /data/xajg
- ## 阿里云短信配置
- aliyun:
- message:
- regionId: cn-hangzhou
- accessKeyId: u4dWx6Jxp4UJNqPj
- accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
- remove:
- capitalType: 5
- companyId: 5e902722d762f008b01b9ee1
|