We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在路由中定义了一个 options 的路由 ,在打开 api-test 模块后报错 Undefined index: OPTIONS
vendor/laravel-admin-ext/api-tester/src/ApiTester.php
public static $methodColors = [ 'GET' => 'green', 'HEAD' => 'gray', 'POST' => 'blue', 'PUT' => 'yellow', 'DELETE' => 'red', 'PATCH' => 'aqua', ];
vendor/laravel-admin-ext/api-tester/resources/views/index.blade.php
@foreach($routes as $route) @php ($color = Encore\Admin\ApiTester\ApiTester::$methodColors[$route['method']]) <li class="route-item" data-uri="{{ $route['uri'] }}" data-method="{{ $route['method'] }}" data-method-color="{{$color}}" data-parameters='{!! $route['parameters'] !!}' > <a href="#"><b>{{ $route['uri'] }}</b> <div class="pull-right"> <span class="label bg-{{ $color }}">{{ $route['method'] }}</span> </div> </a> </li> @endforeach
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我在路由中定义了一个 options 的路由 ,在打开 api-test 模块后报错 Undefined index: OPTIONS
vendor/laravel-admin-ext/api-tester/src/ApiTester.php
vendor/laravel-admin-ext/api-tester/resources/views/index.blade.php
The text was updated successfully, but these errors were encountered: