作者 lyh

gx

... ... @@ -122,7 +122,12 @@ class BlogCategoryLogic extends BaseLogic
if($this->param['pid'] != 0){
//把所有上级博客移动到下级
$associationCateModel = new AssociationCate();
$associationCateModel->edit(['category_id'=>$id],['category_id'=>$this->param['pid'],$associationCateModel::BLOG_CATE]);
$associationCateModel->list(['type'=>$associationCateModel::BLOG_CATE,]);
$data = [
'type'=>$associationCateModel::BLOG_CATE,
'type_id'=>
];
$associationCateModel->a(['category_id'=>$id],['category_id'=>$this->param['pid'],$associationCateModel::BLOG_CATE]);
}
}catch (\Exception $e){
$this->fail('系统错误请联系管理员');
... ...