1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package com.sandu.common.file.config;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.context.annotation.Configuration;
|
| /**
| * @author chenjiantian
| * @date 2021/4/23 16:39
| * 文件上传 相关配置
| */
| @Data
| @Configuration
| @ConfigurationProperties(prefix = "sandu.upload")
| public class FileProperties {
| /**
| * 服务器存储的根路径
| */
| private String uploadRootPath;
|
| }
|
|