From 89de83a4a520be38b4996849357caff6006c1f87 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Tue, 25 Apr 2023 15:13:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E5=88=86?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/system/SystemRouteServices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/services/system/SystemRouteServices.php b/crmeb/app/services/system/SystemRouteServices.php index c01ab2a08..f7d72c9b3 100644 --- a/crmeb/app/services/system/SystemRouteServices.php +++ b/crmeb/app/services/system/SystemRouteServices.php @@ -170,7 +170,7 @@ class SystemRouteServices extends BaseServices * @email 136327134@qq.com * @date 2023/4/11 */ - public function topCateId(string $app, string $cateName, int $pid) + public function topCateId(string $app, string $cateName, int $pid = 0) { $oneId = app()->make(SystemRouteCateServices::class)->value(['app_name' => $app, 'name' => $cateName, 'pid' => 0], 'id'); if (!$oneId) {