0

$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
$route['default_controller'] = 'upload/index';

/*控制器命名
A

api_A.php
A.php

*/
$route['api_([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-|/]+)'] = '$1/api_$1/$2';
$route['([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-|/]+)'] = '$1/$1/$2';

clipboard.png

2019-03-28 提问
0 个回答

撰写答案

推广链接