打分评价
This commit is contained in:
@@ -60,6 +60,9 @@ public class TbChatRoomDTO extends BaseDTO {
|
||||
@Schema(description = "最后一条消息内容")
|
||||
private String lastMessage;
|
||||
|
||||
@Schema(description = "服务评分(1-5星)")
|
||||
private Integer commentLevel;
|
||||
|
||||
@Schema(description = "关闭人")
|
||||
private String closedBy;
|
||||
|
||||
|
||||
@@ -208,4 +208,16 @@ public interface ChatRoomService {
|
||||
*/
|
||||
ResultDomain<CustomerServiceVO> assignCustomerService(String roomId);
|
||||
|
||||
// ========================= 聊天室评分管理 ==========================
|
||||
|
||||
/**
|
||||
* @description 提交聊天室服务评分
|
||||
* @param roomId 聊天室ID
|
||||
* @param commentLevel 评分(1-5星)
|
||||
* @param userId 评分用户ID
|
||||
* @author cascade
|
||||
* @since 2025-12-29
|
||||
*/
|
||||
ResultDomain<Boolean> submitCommentLevel(String roomId, Integer commentLevel, String userId);
|
||||
|
||||
}
|
||||
|
||||
@@ -62,7 +62,10 @@ public class ChatRoomVO extends BaseVO {
|
||||
|
||||
@Schema(description = "最后一条消息内容")
|
||||
private String lastMessage;
|
||||
|
||||
|
||||
@Schema(description = "服务评分(1-5星)")
|
||||
private Integer commentLevel;
|
||||
|
||||
@Schema(description = "关闭人")
|
||||
private String closedBy;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user