From ca1ad791b7b7b04e57db6bd4fb93f0c1066a9f99 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 24 九月 2020 18:31:23 +0800
Subject: [PATCH] 淘口令格式兼容

---
 fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java
index fa8f530..1230f87 100644
--- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java
+++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java
@@ -977,7 +977,7 @@
             }
 
             if (list.size() == 0) {
-                out.print(JsonUtil.loadFalseResult("璇ヤ俊鎭凡涓嬫灦"));
+                out.print(JsonUtil.loadFalseResult("鎿嶄綔澶辫触"));
                 return;
             }
 
@@ -1091,7 +1091,7 @@
         String newText = text; // 闈為�氱敤鍒搁渶瑕侀獙璇�
         if (comment != null && (comment.getNeedSpin() == null || comment.getNeedSpin())) {
             try {
-                newText = convertLinkManager.convertLinkFromText(text, uid, true);
+                newText = convertLinkManager.convertLinkFromText(text, uid, true,true);
             } catch (ConvertLinkExceptionException e) {
                 if (e.getCode() != ConvertLinkExceptionException.CODE_NONE) {
                     out.print(JsonUtil.loadFalseResult("璇勮鐢熸垚澶辫触"));
@@ -1175,7 +1175,7 @@
         String newText = text;
         if (shareInfo.getNeedSpin() != null && shareInfo.getNeedSpin()) {
             try {
-                newText = convertLinkManager.convertLinkFromText(text, uid, true);
+                newText = convertLinkManager.convertLinkFromText(text, uid, true,true);
             } catch (ConvertLinkExceptionException e) {
                 if (e.getCode() != ConvertLinkExceptionException.CODE_NONE) {
                     out.print(JsonUtil.loadFalseResult("璇勮鐢熸垚澶辫触"));
@@ -1370,7 +1370,7 @@
         String newText = text;
         if (shareInfo.getNeedSpin() != null && shareInfo.getNeedSpin()) {
             try {
-                newText = convertLinkManager.convertLinkFromText(text, uid, true);
+                newText = convertLinkManager.convertLinkFromText(text, uid, true,true);
             } catch (ConvertLinkExceptionException e) {
                 if (e.getCode() != ConvertLinkExceptionException.CODE_NONE) {
                     JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("璇勮鐢熸垚澶辫触"));
@@ -1502,7 +1502,7 @@
         if (shareInfo.getNeedSpin() != null && shareInfo.getNeedSpin()) {
             try {
                 String erCodeContent = "";
-                newText = convertLinkManager.convertLinkFromText(text, uid, true);
+                newText = convertLinkManager.convertLinkFromText(text, uid, true,true);
                 // 鑾峰彇鍙d护
                 List<String> tokenList = TaoBaoUtil.getTokenListFromTextWithKuoHao(newText);
                 if (tokenList != null && tokenList.size() > 0) {
@@ -1599,7 +1599,7 @@
         String newText = text; // 闈為�氱敤鍒搁渶瑕侀獙璇�
         if (comment != null && (comment.getNeedSpin() == null || comment.getNeedSpin())) {
             try {
-                newText = convertLinkManager.convertLinkFromText(text, uid, true);
+                newText = convertLinkManager.convertLinkFromText(text, uid, true,true);
             } catch (ConvertLinkExceptionException e) {
                 if (e.getCode() != ConvertLinkExceptionException.CODE_NONE) {
                     JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("璇勮鐢熸垚澶辫触"));

--
Gitblit v1.8.0