正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -192,7 +192,7 @@ class BlogLogic extends BaseLogic | @@ -192,7 +192,7 @@ class BlogLogic extends BaseLogic | ||
| 192 | foreach ($this->param['id'] as $id){ | 192 | foreach ($this->param['id'] as $id){ |
| 193 | $this->delRoute($id); | 193 | $this->delRoute($id); |
| 194 | $this->model->del(['id'=>$id]); | 194 | $this->model->del(['id'=>$id]); |
| 195 | - $assCate->del(['type_id'=>$id]); | 195 | + $assCate->del(['type_id'=>$id,'type'=>$assCate::BLOG_CATE]); |
| 196 | } | 196 | } |
| 197 | DB::commit(); | 197 | DB::commit(); |
| 198 | }catch (Exception $e){ | 198 | }catch (Exception $e){ |
-
请 注册 或 登录 后发表评论