refactor(config): 将图片配置属性从path重命名为url

main
zhaokai 2026-02-27 16:11:11 +08:00
parent 004e2ba23e
commit 69a7478b13
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ public class ImgFilesQueryExe {
} }
public String getImagePath() { public String getImagePath() {
return imageConfig.getPath(); return imageConfig.getUrl();
} }
} }

View File

@ -5,9 +5,9 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
@Component @Component
@ConfigurationProperties(prefix = "image") @ConfigurationProperties(prefix = "file")
@Data @Data
public class ImageConfig { public class ImageConfig {
private String path; private String url;
} }