代理信息恒信

dev_local_lzdx
daiao 4 years ago
parent 2a7a98a2d9
commit aec65c6284

@ -12,7 +12,7 @@ namespace :sync do
created_on = User.where(id: user_action).maximum(:created_on)
# 即代理之前注册
if created_on.present?
if created_on < ua.created_at
params = params.merge(:register_status => 1)
else
@ -20,6 +20,7 @@ namespace :sync do
params = params.merge(:register_status => 2)
end
end
end
# 用户报名情况
created_at = TeamMember.where(user_id: user_action).maximum(:created_at)

Loading…
Cancel
Save