更新路由

dev v2.2
xiaoz 2019-04-12 14:19:06 +08:00
parent a3b7501b8f
commit 3112cab042
1 changed files with 1 additions and 0 deletions

View File

@ -54,4 +54,5 @@ $route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
//API路由
$route['api/upload'] = 'upload/localhost';
$route['api/upload/parse'] = 'upload/parse';
$route['api/upload/(:any)'] = 'upload/localhost/$1';