fixed route list

This commit is contained in:
Edward Yang 2022-08-04 17:09:26 +08:00
parent 1635178f80
commit fe778a4273
2 changed files with 13 additions and 2 deletions

View File

@ -17,9 +17,13 @@ use Beike\Shop\Http\Controllers\Controller;
class MenusController extends Controller
{
public function getRoutes(): string
public function getRoutes()
{
return __METHOD__;
$data = [
'method' => __METHOD__,
'route_list' => []
];
return view("HeaderMenu::route_list", $data);
}

View File

@ -0,0 +1,7 @@
@extends('admin::layouts.master')
@section('title', '插件自定义页面测试')
@section('content')
{{ $method }}
@endsection