Compare commits

...

2 Commits

@ -542,7 +542,7 @@ public class ChatMessageServiceImpl implements ChatMessageService {
throw new ServiceException(ErrorCode.PARAMS_ERROR.getCode(), "评语类型异常");
}
String limitChat = "。限制条件如下1.%s字左右2.直接返回评价的内容3.评价开头不要提示语4.评价开头不允许出现特殊字符;";
String limitChat = "。限制条件如下1.返回评价内容在%s字左右2.直接返回评价的内容3.评价开头不要提示语4.评价开头不允许出现特殊字符;";
int size = chatCommentsDto.getSize() > 0 ? chatCommentsDto.getSize() : 200;
builder.append(String.format(limitChat, size));

Loading…
Cancel
Save