1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| package com.sandu.common.file.config;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.context.annotation.Configuration;
|
| /**
| * @author LiuHaoNan
| * @date 2022/11/9
| */
| @Data
| @Configuration
| @ConfigurationProperties(prefix = "new-nova-file.upload")
| public class NovaFileConfig {
|
| /**
| * 服务器存储的根路径
| */
| private String uploadRootPath;
| /**
| * 服务器ip和端口
| */
| private String realUrl;
| }
|
|