优化更新

This commit is contained in:
molong committed 2026-02-18 22:28:08 +08:00
1 parent b6c133952b
commit 0ecb088569
8 files changed
+107 -38

No files matched your search

+2 -2
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) {