Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Jul 24, 2024
1 parent c1603e0 commit 5b6fc11
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/application/admin/controller/article/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public function add($cid = 0)
}
$model = array('type' => 1, 'cate_id' => $cid, 'digg' => 0, 'views' => 0);
$this->assign("category", CategoryFacade::getCategories());
$this->assign("brands", ProductCategoryFacade::getBrands(0));
$this->assign('article', $model);
$this->assign('types', getArticleTypes());
$this->assign('copyrights', Db::name('copyrights')->order('sort asc')->select());
Expand Down Expand Up @@ -181,7 +180,6 @@ public function edit($id)
$this->error('文章不存在');
}
$this->assign("category", CategoryFacade::getCategories());
$this->assign("brands", ProductCategoryFacade::getBrands(0));
$this->assign('article', $model);
$this->assign('types', getArticleTypes());
$this->assign('copyrights', Db::name('copyrights')->order('sort asc')->select());
Expand Down

0 comments on commit 5b6fc11

Please sign in to comment.