1
0
Fork 0
master
panliang 2023-10-16 14:53:27 +08:00
parent 8075f3d221
commit c0abe0262e
1 changed files with 1 additions and 1 deletions

View File

@ -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();