1
This commit is contained in:
21
app/admin/controller/article/Cate.php
Normal file
21
app/admin/controller/article/Cate.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\controller\article;
|
||||
|
||||
use app\admin\service\annotation\NodeAnnotation;
|
||||
use app\common\controller\AdminController;
|
||||
use app\admin\service\annotation\ControllerAnnotation;
|
||||
use app\common\model\ArticleCates;
|
||||
use think\App;
|
||||
|
||||
#[ControllerAnnotation(title: '文章分类管理')]
|
||||
class Cate extends AdminController
|
||||
{
|
||||
|
||||
public function __construct(App $app)
|
||||
{
|
||||
parent::__construct($app);
|
||||
self::$model = ArticleCates::class;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user