作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

合并分支 'heshupeng' 到 'master'

bug修改



查看合并请求 !125
@@ -362,7 +362,7 @@ class HouseBoard extends Api @@ -362,7 +362,7 @@ class HouseBoard extends Api
362 public function comment_add() 362 public function comment_add()
363 { 363 {
364 $param = $this->request->param(); 364 $param = $this->request->param();
365 - if(!$param['house_id'] || !$param['house_user_id']){ 365 + if(empty($param['house_id']) || empty($param['house_user_id'])){
366 $this->error('缺少必要参数'); 366 $this->error('缺少必要参数');
367 } 367 }
368 if(empty($param['content']) && empty($param['image'])) { 368 if(empty($param['content']) && empty($param['image'])) {