Skip to content

Commit

Permalink
更新路由
Browse files Browse the repository at this point in the history
  • Loading branch information
helloxz committed Apr 12, 2019
1 parent a3b7501 commit 3112cab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@
$route['translate_uri_dashes'] = FALSE;
//API路由
$route['api/upload'] = 'upload/localhost';
$route['api/upload/parse'] = 'upload/parse';
$route['api/upload/(:any)'] = 'upload/localhost/$1';

0 comments on commit 3112cab

Please sign in to comment.