正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -198,7 +198,7 @@ class BlogLogic extends BaseLogic | @@ -198,7 +198,7 @@ class BlogLogic extends BaseLogic | ||
| 198 | try { | 198 | try { |
| 199 | if(!empty($str)){ | 199 | if(!empty($str)){ |
| 200 | $category_data = explode(',',$str); | 200 | $category_data = explode(',',$str); |
| 201 | - $this->set_num(NewsCategoryModel::class,$category_data,'del'); | 201 | + $this->set_num(BlogCategoryModel::class,$category_data,'del'); |
| 202 | $this->param['id'] = ['in',$this->param['id']]; | 202 | $this->param['id'] = ['in',$this->param['id']]; |
| 203 | $this->del($this->param,$ids); | 203 | $this->del($this->param,$ids); |
| 204 | } | 204 | } |
-
请 注册 或 登录 后发表评论