From 16e341ba3171d25e89dba4b413735663fcdc4f17 Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Thu, 13 Oct 2022 10:21:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E8=AF=89=E5=BB=BA=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/page/advice.html | 45 ++++++++++++++++------------------- view/public/about_second.html | 4 +++- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/view/page/advice.html b/view/page/advice.html index e7498e9..93d3933 100755 --- a/view/page/advice.html +++ b/view/page/advice.html @@ -1,33 +1,28 @@ -{layout name="layout_two"/} +{layout name="layout"/} {php} +use app\model\Article; use app\model\Category; -$position = Category::getPosition($category["id"]); +$childrenMenu = Category::getChildrenByParentId($topCategoryId); {/php} -
-