feat : config
This commit is contained in:
26
app/Controller/Admin/ConfigController.php
Normal file
26
app/Controller/Admin/ConfigController.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Controller\Admin;
|
||||
|
||||
use App\Controller\AbstractController;
|
||||
use App\Service\Admin\System\ConfigService;
|
||||
|
||||
class ConfigController extends AbstractController
|
||||
{
|
||||
public function getConfigModule()
|
||||
{
|
||||
return (new ConfigService)->getConfigModule();
|
||||
}
|
||||
|
||||
public function getConfigForm()
|
||||
{
|
||||
return (new ConfigService)->getConfigForm();
|
||||
}
|
||||
|
||||
public function updateConfig()
|
||||
{
|
||||
return (new ConfigService)->handle();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user