ソースを参照

开放三位数

wangqifan 3 年 前
コミット
9562c6d27f

+ 2 - 2
src/main/java/com/izouma/nineth/service/DomainOrderService.java

@@ -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;