优化更新

This commit is contained in:
2026-02-18 22:28:08 +08:00
parent b6c133952b
commit 0ecb088569
8 changed files with 107 additions and 38 deletions

View File

@@ -222,9 +222,9 @@ class UserService
DB::commit();
// 发送更新通知(如果更新的是其他用户)
// if ($id !== $this->getCurrentUserId()) {
if ($id !== $this->getCurrentUserId()) {
$this->sendUserUpdateNotification($user, $data);
// }
}
return $user;
} catch (\Exception $e) {