...
|
...
|
@@ -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));
|
...
|
...
|
|