From 8acaecff9a70bea1f0d6fccd1b21510fbbcccb9c Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Tue, 26 Mar 2024 14:02:54 +0800 Subject: [PATCH] 1 --- app/store/model/user/Identity.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/store/model/user/Identity.php b/app/store/model/user/Identity.php index 41e8b8e4..f25b4e99 100644 --- a/app/store/model/user/Identity.php +++ b/app/store/model/user/Identity.php @@ -38,6 +38,9 @@ class Identity extends BaseIdentity */ public function remove(array $IdentityId): bool { - return static::whereIn('identity_id', $IdentityId)->delete(); + if (static::whereIn('identity_id', $IdentityId)->delete()) { + return true; + } + return false; } } \ No newline at end of file