打分评价
This commit is contained in:
@@ -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 }
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user