|
|
|
@ -228,9 +228,9 @@ class CompetitionTeamsController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
team.team_members.create!(user_id: User.current.id, role: 2, competition_id: @competition.id)
|
|
|
|
|
# 记录引流
|
|
|
|
|
record_agent_user_action
|
|
|
|
|
end
|
|
|
|
|
# 记录引流
|
|
|
|
|
record_agent_user_action
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 退出战队 非创建者直接退出,创建者退出则解散团队
|
|
|
|
|