update: remove ga & fix route

This commit is contained in:
v2board
2022-12-18 14:15:41 +08:00
parent f6c6b5fb1c
commit ed2a3b034e
3 changed files with 3 additions and 26 deletions

View File

@ -40,6 +40,9 @@ class RouteController extends Controller
'action.in' => '动作类型参数有误'
]);
$params['match'] = array_filter($params['match']);
// TODO: remove on 1.8.0
$params['match'] = json_encode($params['match']);
// TODO: remove on 1.8.0
if ($request->input('id')) {
try {
$route = ServerRoute::find($request->input('id'));