feat: 列表页加站点地址列
This commit is contained in:
@@ -13,6 +13,7 @@ public class SiteAccessSummaryDTO {
|
||||
|
||||
private String siteId;
|
||||
private List<String> names;
|
||||
private List<String> urls;
|
||||
private String latestVersion;
|
||||
private int totalResults;
|
||||
private int validCount;
|
||||
|
||||
@@ -164,7 +164,10 @@ public class AccessResultServiceImpl implements AccessResultService {
|
||||
// 站点名称
|
||||
try {
|
||||
Site siteObj = siteMapper.selectBySiteId(k);
|
||||
if (siteObj != null) s.setNames(siteService.toDTO(siteObj).getNames());
|
||||
if (siteObj != null) {
|
||||
s.setNames(siteService.toDTO(siteObj).getNames());
|
||||
s.setUrls(siteService.toDTO(siteObj).getUrls());
|
||||
}
|
||||
} catch (Exception ignored) {}
|
||||
// 配置信息
|
||||
SiteConfig latest = siteConfigMapper.selectLatestBySiteId(k);
|
||||
|
||||
Reference in New Issue
Block a user