1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- server:
- # 端口号
- port: 5000
- security:
- oauth2:
- client:
- client-id: platform
- client-secret: platform
- scope: server
- resource:
- loadBalanced: true
- token-info-uri: http://localhost:5000/oauth/check_token
- freemarker:
- allow-request-override: false
- # 开发过程建议关闭缓存
- cache: true
- check-template-location: false
- charset: UTF-8
- content-type: text/html; charset=utf-8
- expose-request-attributes: false
- expose-session-attributes: false
- expose-spring-macro-helpers: false
- request-context-attribute:
- # 默认后缀就是.ftl
- suffix: .ftl
- template-loader-path: classPath:/templates/
- spring:
- application:
- name: platform-rest
- redis:
- password:
- port: 6379
- host: localhost
- database: 11
- 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/users/**
- - /repair/application-forms/**
- - /check/jobs/**
- - /repair/application-forms/**
- - /store/stores/**
- - /store/spare-stores/**
- - /sb/infos/**
- - /upms/logs/**
- - /upms/dicts/data
- - /operate/**
- - /users/**
- - /users/work/**
- - /druid/**
- - app-versions/**
- - /files/**
- - /mobile/token
- - /verify/**
- - /test/test/**
- - /static/**
- - /service/**
- - /ignores/**
- - /wechat/**
- - /yongyou/**
- - /sb/measure-logs/generate/init
- platform:
- slf4j:
- data: D://xajg
- ## 阿里云短信配置
- aliyun:
- message:
- regionId: cn-hangzhou
- accessKeyId: u4dWx6Jxp4UJNqPj
- accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
- remove:
- capitalType: 5
- companyId: 5e902722d762f008b01b9ee1
|