模版消息标点

weixin_guange
yuanke 9 years ago
parent aa11f39b2d
commit 6abdb47ec5

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

Loading…
Cancel
Save