Authored by xiaofeng.yao@yoho.cn

修复评论列表数据不一致问题

... ... @@ -132,7 +132,7 @@ class ForbiddenController extends BaseController
$room_id = $gets['room_id'];
if($room_id) {
//$sqlwhere = ['cmd' => 5];
$sqlwhere = [];
$sqlwhere = ['room_id'=>$room_id];
$count = (new \yii\db\Query())
->from($this->getTableName($room_id))
->where($sqlwhere)
... ...