...
|
...
|
@@ -142,7 +142,7 @@ class RoomController extends BaseController |
|
|
$requests = $this->requests();
|
|
|
// $room_id = $requests['room_id'];
|
|
|
$result = (new \yii\db\Query())
|
|
|
->select('a.room_id,a.title,a.living,b.channel_id,b.upstream_address')
|
|
|
->select('a.room_id,a.title,a.living,a.secret,b.channel_id,b.upstream_address')
|
|
|
->from('tbl_room a')
|
|
|
->leftJoin('tbl_room_qchannel b', 'a.room_id=b.room_id')
|
|
|
->where(['a.living' => 1])
|
...
|
...
|
@@ -153,6 +153,7 @@ class RoomController extends BaseController |
|
|
'url' => $flow['upstream_address'],
|
|
|
'name' => $flow['title'],
|
|
|
'channel_id' => $flow['channel_id'],
|
|
|
'secret' => $flow['secret'],
|
|
|
'cid' => '',
|
|
|
'app' => '1',
|
|
|
'id' => $flow['room_id'],
|
...
|
...
|
|