diff --git a/app/Common/function.php b/app/Common/function.php index 26e2afe..3cda974 100644 --- a/app/Common/function.php +++ b/app/Common/function.php @@ -92,7 +92,7 @@ function get_front_url($param='') } else if($param['type'] == 'search') { - //tags页面 + //搜索关键词页面 $url .= '/s'.$param['searchid']; } else if($param['type'] == 'productlist') @@ -707,7 +707,7 @@ function get_cat_path($cat,$table='arctype',$type='list') if($row->pid<>0) { - get_cat_path($row->pid); + get_cat_path($row->pid, $table, $type); } return $temp; diff --git a/resources/views/admin/searchword/add.blade.php b/resources/views/admin/searchword/add.blade.php index 73fdcd8..e1b28d6 100644 --- a/resources/views/admin/searchword/add.blade.php +++ b/resources/views/admin/searchword/add.blade.php @@ -21,7 +21,7 @@