mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fix
This commit is contained in:
12
app/jobs/send_template_message_job.rb
Normal file
12
app/jobs/send_template_message_job.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class SendTemplateMessageJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform(source, *args)
|
||||
Rails.logger.info "SendTemplateMessageJob [args] #{args}"
|
||||
case source
|
||||
when 'FollowTip'
|
||||
receivers, followeder = args
|
||||
Rails.logger.info "#{receivers} #{followeder}"
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user