项目相关接口、图片视频上传
This commit is contained in:
22
app/Http/Controllers/CategoryController.php
Normal file
22
app/Http/Controllers/CategoryController.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user