Browse Source

更新路由

dev v2.2
xiaoz 6 years ago
parent
commit
3112cab042
  1. 1
      application/config/routes.php

1
application/config/routes.php

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