10.April 2026
This commit is contained in:
parent
a00c42e770
commit
f58c709945
208 changed files with 19280 additions and 2914 deletions
42
app/Http/Controllers/SAdmin/SAdminController.php
Normal file
42
app/Http/Controllers/SAdmin/SAdminController.php
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\SAdmin;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Services\SyS\AboOrdersOverview;
|
||||
|
||||
class SAdminController extends Controller
|
||||
{
|
||||
protected $userRepo;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('superadmin');
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
return view('sys.index');
|
||||
}
|
||||
|
||||
public function tool($serve)
|
||||
{
|
||||
switch ($serve) {
|
||||
|
||||
case 'abo_orders_overview':
|
||||
return AboOrdersOverview::show();
|
||||
break;
|
||||
}
|
||||
abort(403, 'not found tool');
|
||||
}
|
||||
|
||||
public function store($serve)
|
||||
{
|
||||
switch ($serve) {
|
||||
case 'abo_orders_overview':
|
||||
// return AboOrdersOverview::store();
|
||||
break;
|
||||
}
|
||||
abort(403, 'not found tool');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue