作者 刘朕
1 个管道 的构建 通过 耗费 1 秒

合并分支 'Branch_liuzhen' 到 'master'

社区公告发布调试



查看合并请求 !259
@@ -402,6 +402,8 @@ class HouseAdmin extends Api @@ -402,6 +402,8 @@ class HouseAdmin extends Api
402 ->where('house_id',$post['house_id']) 402 ->where('house_id',$post['house_id'])
403 ->count(); 403 ->count();
404 $count >= 2 && $this->error('本周发布次数已用完'); 404 $count >= 2 && $this->error('本周发布次数已用完');
  405 + $images = $this->request->param('images/a');
  406 + $post['images'] = implode(',',$images);
405 (new HouseBoard)->allowField(true)->save(array_merge([ 407 (new HouseBoard)->allowField(true)->save(array_merge([
406 'admin_user_id' => $this->auth->id 408 'admin_user_id' => $this->auth->id
407 ],$post)); 409 ],$post));