打分评价
This commit is contained in:
@@ -272,5 +272,19 @@ export const workcaseChatAPI = {
|
||||
async endVideoMeeting(meetingId: string): Promise<ResultDomain<VideoMeetingVO>> {
|
||||
const response = await api.post<VideoMeetingVO>(`${this.baseUrl}/meeting/${meetingId}/end`)
|
||||
return response.data
|
||||
},
|
||||
|
||||
// ====================== 聊天室评分管理 ======================
|
||||
|
||||
/**
|
||||
* 提交聊天室服务评分
|
||||
* @param roomId 聊天室ID
|
||||
* @param commentLevel 评分(1-5星)
|
||||
*/
|
||||
async submitComment(roomId: string, commentLevel: number): Promise<ResultDomain<boolean>> {
|
||||
const response = await api.post<boolean>(`/urban-lifeline/workcase/chat/room/${roomId}/comment`, null, {
|
||||
params: { commentLevel }
|
||||
})
|
||||
return response.data
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user