fix: 允许给已批准配置绑定脚本,DTO加scriptStoragePath,无脚本时显示编辑按钮
This commit is contained in:
@@ -15,6 +15,7 @@ public class SiteConfigDTO {
|
||||
private String siteId;
|
||||
private String version;
|
||||
private String configHash;
|
||||
private String scriptStoragePath;
|
||||
private Long fileSize;
|
||||
private String schemaVersion;
|
||||
private ConfigStatus status;
|
||||
|
||||
@@ -115,6 +115,7 @@ public class ConfigServiceImpl implements ConfigService {
|
||||
dto.setSiteId(config.getSiteId());
|
||||
dto.setVersion(config.getVersion());
|
||||
dto.setConfigHash(config.getConfigHash());
|
||||
dto.setScriptStoragePath(config.getScriptStoragePath());
|
||||
dto.setFileSize(config.getFileSize());
|
||||
dto.setSchemaVersion(config.getSchemaVersion());
|
||||
dto.setStatus(config.getStatus());
|
||||
|
||||
Reference in New Issue
Block a user