21 lines
436 B
PHP
21 lines
436 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\BaseApp\BaseController;
|
|
use App\Service\ProjectService;
|
|
use App\Service\RoleService;
|
|
|
|
class RoleController extends BaseController
|
|
{
|
|
//
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->service = RoleService::getInstance();
|
|
$this->insertField = ['name', 'pid', 'value'];
|
|
$this->updateField = ['id', 'name', 'pid', 'value'];
|
|
}
|
|
}
|