2025-05-05 16:44:23 +08:00
|
|
|
<?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();
|
2025-05-06 16:18:22 +08:00
|
|
|
$this->insertField = ['name', 'pid', 'value'];
|
|
|
|
|
$this->updateField = ['id', 'name', 'pid', 'value'];
|
2025-05-05 16:44:23 +08:00
|
|
|
}
|
|
|
|
|
}
|