From c733310ca53b298d0b8455d42ec0bf08eab356ce Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Tue, 20 Feb 2024 10:34:58 +0800 Subject: [PATCH] update --- app/adminapi/validate/auth/MenuValidate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/adminapi/validate/auth/MenuValidate.php b/app/adminapi/validate/auth/MenuValidate.php index a2dbef7eb..5d6340b8e 100755 --- a/app/adminapi/validate/auth/MenuValidate.php +++ b/app/adminapi/validate/auth/MenuValidate.php @@ -134,6 +134,7 @@ class MenuValidate extends BaseValidate } $where[] = ['type', '=', $data['type']]; $where[] = ['name', '=', $data['name']]; + $where[] = ['pid', '=', $data['pid']]; if (!empty($data['id'])) { $where[] = ['id', '<>', $data['id']];