dynamically defines the route of a get request, which is OK without parameters, but not with dynamic parameters id
php
use think\Route;
Route::get("banner","api/v1.Banner/banner");
? >
the top is OK, but the bottom is not.
php
use think\Route;
Route::get("banner/:id","api/v1.Banner/banner");
? >
error message is:
excuse me, what is this situation?