初始化代码
This commit is contained in:
14
app/admin/controller/CardStaff.php
Normal file
14
app/admin/controller/CardStaff.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace app\admin\controller;
|
||||
use app\admin\model\CardUser;
|
||||
use app\Rest;
|
||||
use think\App;
|
||||
|
||||
class CardStaff extends Rest
|
||||
{
|
||||
protected $model;
|
||||
public function __construct(App $app) {
|
||||
parent::__construct($app);
|
||||
$this->model = new CardUser();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user