Merge pull request '更新SendJournalService notes' (#70) from KingChan/forgeplus:chenjing into standalone_develop

This commit is contained in:
KingChan 2023-06-16 17:11:10 +08:00
commit de87bd8d75
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class PullRequests::SendJournalService < ApplicationService
journalized_id: @issue.id ,
journalized_type: "Issue",
user_id: sender_id ,
notes: "@xxx 您好!欢迎参与 #{@project.name} 的贡献。首次进行贡献请完成《<a href='/#{@project.owner.login}/cla/#{@project.owner.cla.key}' target='_blank'>#{@project.owner.cla.name}</a>》的签署,签署完成后,项目成员才可查看到您的合并请求",
notes: "@#{@current_user.nickname} 您好!欢迎参与 #{@project.name} 的贡献。首次进行贡献请完成《<a href='/#{@project.owner.login}/cla/#{@project.owner.cla.key}' target='_blank'>#{@project.owner.cla.name}</a>》的签署,签署完成后,项目成员才可查看到您的合并请求",
}
journal = Journal.new journal_params
if journal.save