diff --git a/CheckDomain/src/main/resources/static/index.html b/CheckDomain/src/main/resources/static/index.html
index c1c03e1..613e58f 100644
--- a/CheckDomain/src/main/resources/static/index.html
+++ b/CheckDomain/src/main/resources/static/index.html
@@ -64,25 +64,25 @@
域名 {{domain}} 的 Whois 信息: |
- 域名: | {{whoisInfo.domain}} |
- 注册商: | {{whoisInfo.registrar}} |
- 邮箱: | {{whoisInfo.email}} |
- 电话: | {{whoisInfo.phone}} |
- 创建日期: | {{whoisInfo.createDate}} |
- 过期日期: | {{whoisInfo.expireDate}} |
- 更新日期: | {{whoisInfo.updateDate}} |
- Whois 服务器: | {{whoisInfo.whoisServer}} |
+ 域名: | {{whoisInfo.domain == null || whoisInfo.domain == "" ? "暂无数据" : whoisInfo.domain}} |
+ 注册商: | {{whoisInfo.registrar == null || whoisInfo.registrar == "" ? "暂无数据" : whoisInfo.registrar}} |
+ 邮箱: | {{whoisInfo.email == null || whoisInfo.email == "" ? "暂无数据" : whoisInfo.email}} |
+ 电话: | {{whoisInfo.phone == null || whoisInfo.phone == "" ? "暂无数据" : whoisInfo.phone}} |
+ 创建日期: | {{whoisInfo.createDate == null || whoisInfo.createDate == "" ? "暂无数据" : whoisInfo.createDate}} |
+ 过期日期: | {{whoisInfo.expireDate == null || whoisInfo.expireDate == "" ? "暂无数据" : whoisInfo.expireDate}} |
+ 更新日期: | {{whoisInfo.updateDate == null || whoisInfo.updateDate == "" ? "暂无数据" : whoisInfo.updateDate}} |
+ Whois 服务器: | {{whoisInfo.whoisServer == null || whoisInfo.whoisServer == "" ? "暂无数据" : whoisInfo.whoisServer}} |
域名状态: |
- {{ whois }};
+ {{ whois == null || whois == "" ? "暂无数据" : whois }};
|
DNS 服务器: |
- {{ dnsName }};
+ {{ dnsName == null || dnsName == "" ? "暂无数据" : dnsName }};
|