作者 lyh

gx

@@ -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){