From c0abe0262ec92ff546afe5605a405962ef0cdf85 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Mon, 16 Oct 2023 14:53:27 +0800 Subject: [PATCH] pati --- app/Console/Commands/PatientRecordNotify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/PatientRecordNotify.php b/app/Console/Commands/PatientRecordNotify.php index 6f3eaaf..4102649 100644 --- a/app/Console/Commands/PatientRecordNotify.php +++ b/app/Console/Commands/PatientRecordNotify.php @@ -50,7 +50,7 @@ class PatientRecordNotify extends Command ->where('type', SocialiteType::WxOfficial) ->whereIn('user_id', $list->pluck('notify_user_id')) ->get(); - $users = UserSocialite::where('user_type', (new AdminUser)->getMorphClass()) + $users = UserSocialite::where('user_type', (new User())->getMorphClass()) ->where('type', SocialiteType::WxOfficial) ->whereIn('user_id', $list->pluck('user_id')) ->get();