Authored by wuxiao

Merge branch 'develop' of http://git.yoho.cn/web/yoho-live into develop

@@ -161,7 +161,7 @@ class RoomController extends BaseController @@ -161,7 +161,7 @@ class RoomController extends BaseController
161 $uids = (new \yii\db\Query()) 161 $uids = (new \yii\db\Query())
162 ->select(['uid']) 162 ->select(['uid'])
163 ->from('tbl_forbidden') 163 ->from('tbl_forbidden')
164 - ->where(['room_id' => $room_id]) 164 + ->where(['room_id' => $room_id,'status'=>Yii::$app->params['config']['is_forbid_stat']])
165 ->all(); 165 ->all();
166 if ($uids) { 166 if ($uids) {
167 foreach ($uids as $v) { 167 foreach ($uids as $v) {