代理任务

dev_aliyun
jingquan huang 5 years ago
parent 421312ee44
commit 85ddabac8d

@ -24,7 +24,7 @@ namespace :sync do
team_member = TeamMember.find_by_user_id(user_action.try(:user_id))
if team_member
# 即代理之前报名的
if team_member.created_on < ua.created_at
if team_member.created_at < ua.created_at
params = params.merge(:action_status => 1)
else
# 代理之后报名的

Loading…
Cancel
Save