From e08d3a4d7fc697aad8e4a7c3b5fb1bf25a03d47d Mon Sep 17 00:00:00 2001 From: wanggeng888 <450292408@qq.com> Date: Mon, 15 Mar 2021 10:23:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 49 +++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 57acdee..e4d065c 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,9 +1,22 @@ server: port: 8080 + url: http://127.0.0.1:8080/businesscard + system-title: 名片管理系统 + system-sub-title: 名片系统 servlet: context-path: /businesscard spring: + login-url: /oauth/login + login-failure: /oauth/login?error + login-process: /userlogin + assets-matchers: /assets/** + thymeleaf: + prefix: classpath:/templates/ + suffix: .html + mode: HTML5 + encoding: UTF-8 + cache: false main: allow-bean-definition-overriding: true servlet: @@ -52,4 +65,38 @@ mybatis: logging: level: root: error - com.cm: debug \ No newline at end of file + com.cm: debug + +swagger: + base-package-list: ink.wgink,cn.com.tenlion + +# 文件上传管理 +file: + # 文件的保存路径 + upload-path: /Users/wanggeng/Desktop/UploadFiles/ + # 图片类型 + image-types: png,jpg,jpeg,gif,blob + # 视频类型 + video-types: mp4,rmvb + # 音频类型 + audio-types: mp3,wmv + # 文件类型 + file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf + # 同时上传最大支持数 + max-file-count: 6 + # 图片输出压缩质量,大于0,默认0.4 + image-output-quality: 0.4 + # 媒体最大时长(单位:秒) + media-max-duration: + # 后台 + backend: + video: 10 + audio: 60 + # 微信 + wechat: + video: 10 + audio: 60 + # app + app: + video: 10 + audio: 60 \ No newline at end of file