直播间需要添加签到功能
This commit is contained in:
@@ -212,6 +212,7 @@ export const getUserMomentsList = data => {
|
||||
return http({
|
||||
url: '/api/service/userMoments/list',
|
||||
method: 'get',
|
||||
loading: false,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user