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