|
@@ -41,8 +41,8 @@
|
|
NET.request(API.linkPickVideo, {
|
|
NET.request(API.linkPickVideo, {
|
|
tenantCode : options.tenantCode
|
|
tenantCode : options.tenantCode
|
|
}, 'GET').then(res => {
|
|
}, 'GET').then(res => {
|
|
- this.liveId = res.liveId
|
|
|
|
- this.roomId = res.roomId
|
|
|
|
|
|
+ this.liveId = res.data.liveId
|
|
|
|
+ this.roomId = res.data.roomId
|
|
wx.setKeepScreenOn({
|
|
wx.setKeepScreenOn({
|
|
keepScreenOn: true
|
|
keepScreenOn: true
|
|
}); // 获取 rtcroom 实例
|
|
}); // 获取 rtcroom 实例
|