|
|
@@ -107,7 +107,7 @@ public class DomainOrderService {
|
|
|
throw new BusinessException("四位及以下域名只能官方创建。");
|
|
|
}
|
|
|
} else {
|
|
|
- if (domain.length() < 8 || domain.length() > 20) {
|
|
|
+ if (domain.length() < 7 || domain.length() > 20) {
|
|
|
throw new BusinessException("四位以下域名只能官方创建。");
|
|
|
}
|
|
|
}
|
|
|
@@ -232,7 +232,7 @@ public class DomainOrderService {
|
|
|
return result;
|
|
|
}
|
|
|
} else {
|
|
|
- if (visibleDomain.length() < 8 || visibleDomain.length() > 20) {
|
|
|
+ if (visibleDomain.length() < 7 || visibleDomain.length() > 20) {
|
|
|
result.put("result", false);
|
|
|
result.put("reason", "域名长度不合规");
|
|
|
return result;
|