正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -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)); |
-
请 注册 或 登录 后发表评论