前台部分接口
This commit is contained in:
21
app/Http/Controllers/FileController.php
Normal file
21
app/Http/Controllers/FileController.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\BaseApp\BaseController;
|
||||
use App\Service\FileService;
|
||||
use App\Service\ProjectService;
|
||||
use App\Service\RoleService;
|
||||
|
||||
class FileController extends BaseController
|
||||
{
|
||||
//
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->service = FileService::getInstance();
|
||||
$this->insertField = ['url', 's'];
|
||||
$this->updateField = ['id', 'url', 's'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user