直播间需要添加签到功能

This commit is contained in:
cbb
2026-01-13 17:56:19 +08:00
parent 06e026c8b8
commit c139fcf501
16 changed files with 313 additions and 171 deletions

View File

@@ -212,6 +212,7 @@ export const getUserMomentsList = data => {
return http({
url: '/api/service/userMoments/list',
method: 'get',
loading: false,
data
})
}

View File

@@ -99,9 +99,9 @@ export const imDataStartLive = (roomId) => {
}
/** 结束直播 */
export const imDataEndLive = (roomId) => {
export const imDataEndLive = (roomId, viewers) => {
return http({
url: `/api/service/imLiveRoom/${roomId}`,
url: `/api/service/imLiveRoom/${roomId}/${viewers}`,
method: 'delete'
})
}