|
|
@ -10,7 +10,6 @@ class Admins::IdentityAuths::AgreeApplyService < ApplicationService
|
|
|
|
ActiveRecord::Base.transaction do
|
|
|
|
ActiveRecord::Base.transaction do
|
|
|
|
apply.update!(status: 1)
|
|
|
|
apply.update!(status: 1)
|
|
|
|
user.update!(authentication: true)
|
|
|
|
user.update!(authentication: true)
|
|
|
|
user.update!(is_shixun_marker: true) if user.is_teacher?
|
|
|
|
|
|
|
|
RewardGradeService.call(user, container_id: user.id, container_type: 'Authentication', score: 500)
|
|
|
|
RewardGradeService.call(user, container_id: user.id, container_type: 'Authentication', score: 500)
|
|
|
|
|
|
|
|
|
|
|
|
deal_tiding!
|
|
|
|
deal_tiding!
|
|
|
|