|
|
|
@ -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));
|
|
|
|
|
|
|
|
|
|