From e63ace8599c5452ba67bd7d5aac3c1ca1b66e476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Mon, 24 Mar 2025 22:50:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=96=87=E7=AB=A0=E4=BC=AA?= =?UTF-8?q?=E9=9D=99=E6=80=81=E5=90=88=E7=90=86=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/templets/catalog_add.htm | 4 ++-- src/admin/templets/catalog_add_quick.htm | 4 ++-- src/admin/templets/catalog_edit.htm | 4 ++-- src/system/helpers/channelunit.helper.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index 8f6b6e50..4691d3c3 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -247,8 +247,8 @@
{typedir} 栏目保存目录
{cc} 日期加混编id后用转换为适合字母
伪静态规则(Nginx)
-rewrite ^/article-([0-9]+).html$ /apps/view.php?arcID=$1;
-rewrite ^/article-([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;
+rewrite ^/article/([0-9]+).html$ /apps/view.php?arcID=$1;
+rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;
{typedir} 栏目保存目录
{cc} 日期加混编id后用转换为适合字母
伪静态规则(Nginx)
-rewrite ^/article-([0-9]+).html$ /apps/view.php?arcID=$1;
-rewrite ^/article-([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;
+rewrite ^/article/([0-9]+).html$ /apps/view.php?arcID=$1;
+rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;
{typedir} 栏目保存目录
{cc} 日期加混编id后用转换为适合字母
伪静态规则(Nginx)
-rewrite ^/article-([0-9]+).html$ /apps/view.php?arcID=$1;
-rewrite ^/article-([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;
+rewrite ^/article/([0-9]+).html$ /apps/view.php?arcID=$1;
+rewrite ^/article/([0-9]+)-([0-9]+).html$ /apps/view.php?aid=$1&pageno=$2;