server: # 端口号 port: 5002 security: oauth2: client: client-id: platform client-secret: platform scope: server resource: loadBalanced: true token-info-uri: http://localhost:5001/oauth/check_token spring: application: name: platform-rest redis: password: port: 6397 host: localhost database: 4 jpa: properties: hibernate: temp: use_jdbc_metadata_defaults: false dialect: org.hibernate.dialect.MySQLDialect servlet: multipart: maxFileSize: "100MB" maxRequestSize: "1000MB" mail: host: smtp.exmail.qq.com #发送邮件服务器 username: chenyh@tuzhiall.com #发送邮件的邮箱地址 password: Chenyuehu521 #客户端授权码,不是邮箱密码,这个在qq邮箱设置里面自动生成的 properties.mail.smtp.port: 465 #端口号465或587 from: chenyh@tuzhiall.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/** - /operate/** - /users/** - /users/work/** - /druid/** - /app-versions/** - /verify/** - /files/** - /mobile/token - /verify/captcha/** - /static/** - /service/** upload: root-dir: /home/data/XiAnConstructionAsset/FileData platform: slf4j: data: /data/xajg ## 阿里云短信配置 aliyun: message: regionId: cn-hangzhou accessKeyId: u4dWx6Jxp4UJNqPj accessSecret: b3DNDU3Y0rRA6Wa2mRV1WNbDKh7Jhs remove: capitalType: 5 companyId: 5e902722d762f008b01b9ee1