diff --git a/novel-front/pom.xml b/novel-front/pom.xml index b0aed99..2694e87 100644 --- a/novel-front/pom.xml +++ b/novel-front/pom.xml @@ -10,7 +10,7 @@ xyz.zinglizingli novel-front - 2.1.0.beta + 2.1.1.beta novel-front 小说精品楼-前台web网站 diff --git a/novel-front/src/main/resources/templates/books/book_content.html b/novel-front/src/main/resources/templates/books/book_content.html index a61d6be..2ba93f8 100644 --- a/novel-front/src/main/resources/templates/books/book_content.html +++ b/novel-front/src/main/resources/templates/books/book_content.html @@ -208,6 +208,10 @@ var bullet = $("#screenBulletText").val(); var contentId = $("#contentIdHidden").val(); if (bullet && contentId) { + if(bullet.length > 100){ + layer.alert("发送内容过长"); + return; + } $.ajax({ type: "POST", url: "/book/sendBullet",