|
|
|
@ -334,8 +334,8 @@ class ProjectsService
|
|
|
|
|
def send_wechat_project_issue_notice user,project,issue_id,issue_title,priority_id
|
|
|
|
|
count = ShieldWechatMessage.where("container_type='User' and container_id=#{user.id} and shield_type='Project' and shield_id=#{project.id}").count
|
|
|
|
|
if count == 0
|
|
|
|
|
title = "您有新的issue需要解决"
|
|
|
|
|
remark = "点击详情查看issue"
|
|
|
|
|
title = "您有新的issue需要解决。"
|
|
|
|
|
remark = "点击详情查看issue。"
|
|
|
|
|
|
|
|
|
|
case priority_id
|
|
|
|
|
when "1"
|
|
|
|
|