From 8ecbc9708fc1f37afdb1c7ab2d2af45b948cc626 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Mon, 28 Mar 2022 15:27:40 +0800 Subject: [PATCH] Update channelunit.helper.php --- src/system/helpers/channelunit.helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/helpers/channelunit.helper.php b/src/system/helpers/channelunit.helper.php index 4fe39bdf..f375252d 100755 --- a/src/system/helpers/channelunit.helper.php +++ b/src/system/helpers/channelunit.helper.php @@ -203,10 +203,10 @@ if (!function_exists('GetTypeUrl')) { global $cfg_typedir_df; $typedir = MfTypedir($typedir); $sitepath = MfTypedir($sitepath); - //伪静态栏目,Nginx伪静态规则参考:rewrite ^/list([0-9]+)$ /apps/list.php?tid=$1;rewrite ^/list([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2; + //伪静态栏目,Nginx伪静态规则参考:rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2; if($isdefault==-1) { //目录版 - $reurl = "/list".$typeid.""; + $reurl = "/list-".$typeid.""; //网页版$reurl = "/list".$typeid.".html"; } else if ($ispart == 2) { //跳转网址