提交返回字数限制。与jwt安装包配置

develop
PL 4 months ago
parent 70c3aaefbe
commit 2b1c8e7264

@ -117,18 +117,18 @@
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- 修改后的jjwt <!-- 修改后的jjwt -->
<dependency> <dependency>
<groupId>jsonwebtoken</groupId> <groupId>jsonwebtoken</groupId>
<artifactId>habook-jjwt</artifactId> <artifactId>habook-jjwt</artifactId>
<version>0.0.1</version> <version>0.0.1</version>
</dependency> </dependency>
-->
<dependency> <!--<dependency>
<groupId>io.jsonwebtoken</groupId> <groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId> <artifactId>jjwt</artifactId>
<version>0.9.1</version> <version>0.9.1</version>
</dependency> </dependency>-->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>

@ -467,6 +467,8 @@ public class ChatMessageServiceImpl implements ChatMessageService {
builder.append("字数限制在:") builder.append("字数限制在:")
.append(chatCommentsDto.getSize()) .append(chatCommentsDto.getSize())
.append("字左右"); .append("字左右");
}else {
builder.append("字数限制在200字左右");
} }
return builder.toString(); return builder.toString();

Loading…
Cancel
Save