微信模版消息标题加上句号

weixin_guange
yuanke 9 years ago
parent 8bf69a2e4d
commit 1489ab015a

@ -42,7 +42,7 @@ module Mobile
user: user user: user
) )
ws = WechatService.new ws = WechatService.new
ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台", user.login, Time.now.strftime("%Y-%m-%d")) ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台", user.login, Time.now.strftime("%Y-%m-%d"))
present status: 0, message: '您已成功绑定Trustie平台' present status: 0, message: '您已成功绑定Trustie平台'
end end
@ -68,7 +68,7 @@ module Mobile
user: user user: user
) )
ws = WechatService.new ws = WechatService.new
ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台", user.login, Time.now.strftime("%Y-%m-%d")) ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台", user.login, Time.now.strftime("%Y-%m-%d"))
present :data, user, with: Mobile::Entities::User present :data, user, with: Mobile::Entities::User
present :status, 0 present :status, 0
end end

@ -2139,21 +2139,21 @@ zh:
label_resource_belongs_project: 所属项目 label_resource_belongs_project: 所属项目
#微信模板消息 #微信模板消息
label_new_homework_template: 您有新作业了 label_new_homework_template: 您有新作业了
label_update_homework_template: 您的作业已被修改 label_update_homework_template: 您的作业已被修改
label_course_topic_template: 课程问答区有新帖子发布了 label_course_topic_template: 课程问答区有新帖子发布了
label_topic_comment_template: 您的帖子有新回复了 label_topic_comment_template: 您的帖子有新回复了
label_project_topic_template: 项目讨论区有新帖子发布了 label_project_topic_template: 项目讨论区有新帖子发布了
label_issue_comment_template: 您的缺陷有新回复了 label_issue_comment_template: 您的缺陷有新回复了
label_notice_comment_template: 您的课程通知有新回复了 label_notice_comment_template: 您的课程通知有新回复了
label_news_comment_template: 您的项目新闻有新回复了 label_news_comment_template: 您的项目新闻有新回复了
label_homework_comment_template: 您的作业有新回复了 label_homework_comment_template: 您的作业有新回复了
label_new_second_comment_template: 您有新回复了 label_new_second_comment_template: 您有新回复了
label_new_journals_template: 您有新留言了 label_new_journals_template: 您有新留言了
label_journals_comment_template: 您的留言有新回复了 label_journals_comment_template: 您的留言有新回复了
label_blog_comment_template: 您的博客有新回复了 label_blog_comment_template: 您的博客有新回复了
label_new_blog_template: 有新博客了 label_new_blog_template: 有新博客了
label_new_issue_template: 有新的问题动态了 label_new_issue_template: 有新的问题动态了
label_new_notice_template: 您的课程有新通知了 label_new_notice_template: 您的课程有新通知了
#edit yk #edit yk
label_code_work_tests: 代码测试列表 label_code_work_tests: 代码测试列表

@ -21,7 +21,7 @@ default: &default
homework_message_notice: "tCf7teCVqc2vl2LZ_hppIdWmpg8yLcrI8XifxYePjps" homework_message_notice: "tCf7teCVqc2vl2LZ_hppIdWmpg8yLcrI8XifxYePjps"
class_notice: "MQ_mFupbXP-9jWbeHT3C5xqNBvPo8EIlNv4ULakSpJA" class_notice: "MQ_mFupbXP-9jWbeHT3C5xqNBvPo8EIlNv4ULakSpJA"
create_class_notice: "2GtJJGzzNlNy2i0UrsjEDlvfSVIUXQfSo47stpcQAVw" create_class_notice: "2GtJJGzzNlNy2i0UrsjEDlvfSVIUXQfSo47stpcQAVw"
create_project_notice: "R2ZaQKJfDJgujPcHWPzadKHIRkIyj2CjX2o_qIuRqig" create_project_notice: "jYu0iimbDpgWYZaTLXioZe2lvqoWTdKnUPyphTJ1mxs"
production: production:
<<: *default <<: *default

Loading…
Cancel
Save