路由规则优化

feat/task1-c-wallet
gongfuxiang 2018-12-31 19:17:32 +08:00
parent bb7d6f3c1d
commit 79f9cada54
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ class ConfigService
{
if(isset($params['home_seo_url_model']))
{
$route_file = ROOT.'route'.DS.'route.txt';
$route_file = ROOT.'route'.DS.'route.config';
$route_file_php = ROOT.'route'.DS.'route.php';
// 文件目录
@ -173,7 +173,7 @@ class ConfigService
if(!file_exists($route_file))
{
return DataReturn('路由规则文件不存在'.'[./route/route.txt]', -14);
return DataReturn('路由规则文件不存在'.'[./route/route.config]', -14);
}
// 开始生成规则文件