操作记录记录用户信息

This commit is contained in:
xxq250 2024-09-27 10:47:16 +08:00
parent 19cf675f2e
commit 80828d85d7
1 changed files with 6 additions and 4 deletions

View File

@ -76,10 +76,12 @@ class UserAction < ApplicationRecord
private private
def add_user_info def add_user_info
if self.login.blank?
if user.present? if user.present?
self.login = user.login self.login = user.login
self.email = user.mail self.email = user.mail
self.phone = user.phone self.phone = user.phone
end end
end end
end
end end