yujian
2019-08-01 c22963a2ee796e59094524cadc5a78c450ed98f8
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/SearchControllerV2.java
@@ -131,17 +131,9 @@
      Pattern p = Pattern.compile(URL_REGEX);
      Matcher matcher = p.matcher(text);
      if (!matcher.find()) {// 不包含链接
         // 商品详情
         // 发现
         // 没有链接,标题过长也不处理
         if (text.startsWith("【") && text.contains("】")) {
            int end = text.indexOf("】");
            if (end > 2)
               text = text.substring(1, end);
         }
         if (NumberUtil.isNumeric(text)) {
            out.println(JsonUtil.loadFalseResult("不支持纯数字"));
         String pattern = "^[A-Za-z0-9]+$";
         if (Pattern.matches(pattern, text)) {
            out.println(JsonUtil.loadFalseResult("不支持推荐"));
            return;
         }