打分评价

This commit is contained in:
2025-12-29 16:17:27 +08:00
parent 23b4383563
commit a33720b9f6
23 changed files with 880 additions and 72 deletions

View File

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

View File

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

View File

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