作者 lyh

gx

... ... @@ -269,9 +269,8 @@ class TranslateLogic extends BaseLogic
$lang = $this->getLanguage($this->param['language_id'])['short'];
$str = trim($url,'/');
$page = 0;
if(empty($str)){
$route = 'index';
}else{
$route = 'index';
if(!empty($str)){
$arr = explode('/',$str);
$num = count($arr);
if($num == 1){
... ...