1
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace plugin\admin\app\controller;
|
||||
|
||||
use think\facade\Db;
|
||||
/**
|
||||
* @ControllerAnnotation('{$description}')
|
||||
* Class {$controllerClass}
|
||||
* @package plugin\admin\app\controller
|
||||
*/
|
||||
class {$controllerClass} extends Crud
|
||||
{
|
||||
protected array \$noNeedLogin = [];
|
||||
protected array \$noNeedRight = [];
|
||||
|
||||
function __construct()
|
||||
{
|
||||
$this->model = new \app\model\{:(str_replace('','',$controllerClass)};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user