正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -113,8 +113,8 @@ class BlogLabelLogic extends BaseLogic | @@ -113,8 +113,8 @@ class BlogLabelLogic extends BaseLogic | ||
| 113 | */ | 113 | */ |
| 114 | public function batchAdd(){ | 114 | public function batchAdd(){ |
| 115 | $ids = []; | 115 | $ids = []; |
| 116 | - if(!empty($this->param['title']) && is_array($this->param['title'])){ | ||
| 117 | - foreach ($this->param['title'] as $v){ | 116 | + if(!empty($this->param['name']) && is_array($this->param['name'])){ |
| 117 | + foreach ($this->param['name'] as $v){ | ||
| 118 | $this->verifyParamName($v); | 118 | $this->verifyParamName($v); |
| 119 | $param['create_id'] = $this->user['id']; | 119 | $param['create_id'] = $this->user['id']; |
| 120 | $param['operator_id'] = $this->user['id']; | 120 | $param['operator_id'] = $this->user['id']; |
-
请 注册 或 登录 后发表评论