123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- server:
- # 端口号
- port: 5001
- 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: 8
- 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
- - /operate/customers/*
- - /store/out-store-forms/**
- - /operate/customers/*
- - /repair/application-forms/repair/report
- - /websocket/**
- - /sb/types/**
- - /report/sb/infos/**
- - /sb/measure-logs/**
- - /sb/positions/**
- - /preparation/preparations/**
- - /longyanpurchaseorder/detail/**
- - /longyanpurchaseorder/order/**
- - /yongyou/**
- - /project/**
- - /repair/application-forms/**
- - /sb/infos/**
- - /yongyou/put
- - /merge/merge/**
- platform:
- slf4j:
- data: D://xajg
- ## 阿里云短信配置
- aliyun:
- message:
- regionId: cn-hangzhou
- accessKeyId: u4dWx6Jxp4UJNqPj
- accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs
- remove:
- capitalType: 5
- companyId: 5e902722d762f008b01b9ee1
- scheduling:
- enabled: true
|