|
@@ -37,7 +37,7 @@ class LoginService extends CrudService {
|
|
throw new BusinessError(ErrorCode.ACCESS_DENIED);
|
|
throw new BusinessError(ErrorCode.ACCESS_DENIED);
|
|
}
|
|
}
|
|
let type = '0';
|
|
let type = '0';
|
|
- const roomid_ = '';
|
|
|
|
|
|
+ let roomid_ = '';
|
|
if (roomid) {
|
|
if (roomid) {
|
|
const room = await this.roommodel.findOne({ name: roomid });
|
|
const room = await this.roommodel.findOne({ name: roomid });
|
|
if (!room) {
|
|
if (!room) {
|
|
@@ -48,7 +48,7 @@ class LoginService extends CrudService {
|
|
if (!userzjr_) {
|
|
if (!userzjr_) {
|
|
throw new BusinessError(ErrorCode.USER_NOT_EXIST, '房间号内没有您的直播信息');
|
|
throw new BusinessError(ErrorCode.USER_NOT_EXIST, '房间号内没有您的直播信息');
|
|
}
|
|
}
|
|
- roomid = room.id;
|
|
|
|
|
|
+ roomid_ = room.id;
|
|
type = '1';
|
|
type = '1';
|
|
}
|
|
}
|
|
|
|
|