Explorar o código

首页字数限制

Signed-off-by: anderx <312518615@qq.com>
anderx %!s(int64=5) %!d(string=hai) anos
pai
achega
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;
 	}