Fonts, Travel Program
This commit is contained in:
parent
93d1bea8e3
commit
561c5875a7
173 changed files with 12359 additions and 1070 deletions
65
app/Http/Controllers/SyS/SysController.php
Normal file
65
app/Http/Controllers/SyS/SysController.php
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\SyS;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Services\SyS\Import;
|
||||
use App\Services\SyS\ReCalcu;
|
||||
use App\Services\SyS\ReImport;
|
||||
|
||||
class SysController extends Controller
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware(['sysadmin', '2fa']);
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
return view('sys.index');
|
||||
}
|
||||
|
||||
public function tool($serve)
|
||||
{
|
||||
switch ($serve) {
|
||||
case 'reimport':
|
||||
return ReImport::show();
|
||||
break;
|
||||
case 'calcu':
|
||||
dd('check App\Services\SyS\ReCalcu');
|
||||
break;
|
||||
case 'tree':
|
||||
dd('check App\Services\SyS\Import');
|
||||
break;
|
||||
case 'clean_tree_code':
|
||||
dd('check App\Services\SyS\Import');
|
||||
break;
|
||||
case 'media_insert':
|
||||
dd('check App\Services\SyS\Import');
|
||||
break;
|
||||
case 'import':
|
||||
dd('check App\Services\SyS\Import');
|
||||
break;
|
||||
}
|
||||
abort(403, 'not found tool');
|
||||
}
|
||||
|
||||
|
||||
public function store($serve)
|
||||
{
|
||||
switch ($serve) {
|
||||
case 'reimport':
|
||||
return ReImport::store();
|
||||
break;
|
||||
|
||||
}
|
||||
abort(403, 'not found tool');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue