package com.ruoyi.file.properties;
|
|
import lombok.Data;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
import java.util.Map;
|
|
/**
|
* @email 1603559716@qq.com
|
* @author: zf
|
* @date: 2023/7/24
|
* @time: 10:06
|
*/
|
@Component
|
@Data
|
@ConfigurationProperties(prefix = "file.path")
|
public class FilePathProperties {
|
/**
|
* 文件保存根路径
|
*/
|
private String dcPath;
|
/**
|
* 访问跟路径
|
*/
|
private String urlRootPath;
|
/**
|
* 模块路径
|
*/
|
private Map<String,String> module;
|
}
|