You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
531 B
22 lines
531 B
<?php
|
|
|
|
namespace App\Admin\Controllers;
|
|
|
|
use App\Admin\Repositories\AdminSetting;
|
|
use App\Models\Admin\AdminSetting as Setting;
|
|
use Dcat\Admin\Form;
|
|
use Dcat\Admin\Grid;
|
|
use Dcat\Admin\Layout\Content;
|
|
use Dcat\Admin\Show;
|
|
use Dcat\Admin\Controllers\AdminController;
|
|
use Dcat\Admin\Widgets\Card;
|
|
|
|
class AdminSettingController extends AdminController
|
|
{
|
|
public function index(Content $content)
|
|
{
|
|
return $content
|
|
->title('网站设置')
|
|
->body(new Card(new \App\Admin\Forms\Setting()));
|
|
}
|
|
}
|
|
|