打分评价

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

@@ -263,5 +263,20 @@ export const workcaseChatAPI = {
*/
endVideoMeeting(meetingId: string): Promise<ResultDomain<any>> {
return request({ url: `${this.baseUrl}/meeting/${meetingId}/end`, method: 'POST' })
},
// ====================== 聊天室评分管理 ======================
/**
* 提交聊天室服务评分
* @param roomId 聊天室ID
* @param commentLevel 评分1-5星
*/
submitComment(roomId: string, commentLevel: number): Promise<ResultDomain<boolean>> {
return request({
url: `/urban-lifeline/workcase/chat/room/${roomId}/comment`,
method: 'POST',
data: { commentLevel }
})
}
}