轮播图
This commit is contained in:
1 parent
736a59eda8
commit
1bf9e94df3
1 file changed
+24
+24
@@ -0,0 +1,24 @@
|
||||
package com.bsd.pjcloud.integrated.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 轮播图 App/外部接口配置
|
||||
*
|
||||
* @author pjcloud
|
||||
* @date 2025-01-27
|
||||
*/
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "pjcloud.banner-app")
|
||||
public class BannerAppConfig {
|
||||
|
||||
/**
|
||||
* 图片地址统一基础路径(如 https://cdn.example.com 或 https://your-domain.com/admin)
|
||||
* 接口返回时会将 imageUrl 与此拼接:最终地址 = imageBaseUrl + imageUrl
|
||||
* 不配置则不拼接,直接返回原始 imageUrl
|
||||
*/
|
||||
private String imageBaseUrl = "";
|
||||
}
|
||||
Reference in new issue
Block a user