作者 Cool
1 个管道 的构建 通过 耗费 0 秒

社区公告发布调试

... ... @@ -402,6 +402,8 @@ class HouseAdmin extends Api
->where('house_id',$post['house_id'])
->count();
$count >= 2 && $this->error('本周发布次数已用完');
$images = $this->request->param('images/a');
$post['images'] = implode(',',$images);
(new HouseBoard)->allowField(true)->save(array_merge([
'admin_user_id' => $this->auth->id
],$post));
... ...