Files
spa-api/app/Http/Controllers/LabelController.php

22 lines
468 B
PHP
Raw Normal View History

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