feat: 添加结束活动和直播记录详情功能,优化直播页面跳转

This commit is contained in:
2026-03-07 15:19:23 +07:00
parent 67495ea864
commit 047ea3a77a
7 changed files with 68 additions and 22 deletions

View File

@@ -150,6 +150,14 @@ export const confirmLiveActivity = data => {
})
}
/** 结束活动 */
export const endLiveActivity = activityId => {
return http({
url: `/api/service/imLiveActivity/end/${activityId}`,
method: 'post'
})
}
/** 查询活动参与状态 */
export const getLiveActivityRecord = id => {
return http({
@@ -175,6 +183,14 @@ export const getLiveRecordDetail = id => {
})
}
/** 直播记录详情 */
export const getLIveRecordDetailByRoomId = roomId => {
return http({
url: `/api/service/imLiveRoom/room/${roomId}`,
method: 'get'
})
}
/** 生成直播ID */
export const getLiveId = () => {
return http({