zhangkaikai 1 рік тому
батько
коміт
466cb24b2e

+ 1 - 1
mp-admin/src/main/java/com/qs/mp/web/controller/api/admin/CdKeyMgrController.java

@@ -121,7 +121,7 @@ public class CdKeyMgrController extends BaseController {
                 CdKeyGroupListVO cdKeyGroupListVO = new CdKeyGroupListVO();
                 BeanUtils.copyProperties(cdKeyGroup, cdKeyGroupListVO);
                 Channel channel = channelService.getById(cdKeyGroup.getChannelId());
-                String siteName = channel.getSiteName() == null ? "" : channel.getName();
+                String siteName = channel.getSiteName() == null ? "--   " : channel.getSiteName();
                 cdKeyGroupListVO.setSiteName(siteName + "(" + channel.getMobile() + ")");
                 return cdKeyGroupListVO;
             }).collect(Collectors.toList());