|
@@ -53,7 +53,7 @@ public class DomainOrderService {
|
|
|
|
|
|
|
|
public Map<String, Object> check(String domain) {
|
|
public Map<String, Object> check(String domain) {
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
- Integer count = domainOrderRepo.countAllByDomainNameEqualsAndStatus(domain, CollectionStatus.SUCCESS);
|
|
|
|
|
|
|
+ Integer count = domainOrderRepo.countAllByPicNameEqualsAndStatus(domain, CollectionStatus.SUCCESS);
|
|
|
if (domain.length() < 5 || domain.length() > 20) {
|
|
if (domain.length() < 5 || domain.length() > 20) {
|
|
|
result.put("result", false);
|
|
result.put("result", false);
|
|
|
result.put("reason", "域名长度不合规");
|
|
result.put("reason", "域名长度不合规");
|