From 9b4f58630b8fc6d2bbdae524210cd565222fd4fe Mon Sep 17 00:00:00 2001
From: xiongxiaoyang <773861846@qq.com>
Date: Thu, 19 Dec 2019 13:41:06 +0800
Subject: [PATCH] =?UTF-8?q?v2.1.1=E5=8F=91=E5=B8=83=EF=BC=8C=E9=99=90?=
=?UTF-8?q?=E5=88=B6=E5=8F=91=E9=80=81=E5=BC=B9=E5=B9=95=E9=95=BF=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
novel-front/pom.xml | 2 +-
.../src/main/resources/templates/books/book_content.html | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
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",