Parcourir la source

首页字数限制

Signed-off-by: anderx <312518615@qq.com>
anderx il y a 5 ans
Parent
commit
321d71f8c1

+ 1 - 1
src/main/java/com/kede/common/controller/WebpageController.java

@@ -213,7 +213,7 @@ public class WebpageController extends BaseController {
 	public String displayRestriction(String str) {
 		//去除HTML标签
 		str=removeHtmlTag(str);
-		if(str.length()>36)str=str.substring(0, 36)+"...";
+		if(str.length()>36)str=str.substring(0, 48)+"...";
 		return str;
 	}