diff --git a/app/api/mobile/apis/users.rb b/app/api/mobile/apis/users.rb index e34bae63f..9b1be37c3 100644 --- a/app/api/mobile/apis/users.rb +++ b/app/api/mobile/apis/users.rb @@ -42,7 +42,7 @@ module Mobile user: user ) 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平台' end @@ -68,7 +68,7 @@ module Mobile user: user ) 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 :status, 0 end diff --git a/config/locales/zh.yml b/config/locales/zh.yml index dbb3ff074..e3b395bd8 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -2139,21 +2139,21 @@ zh: label_resource_belongs_project: 所属项目 #微信模板消息 - label_new_homework_template: 您有新作业了 - label_update_homework_template: 您的作业已被修改 - label_course_topic_template: 课程问答区有新帖子发布了 - label_topic_comment_template: 您的帖子有新回复了 - label_project_topic_template: 项目讨论区有新帖子发布了 - label_issue_comment_template: 您的缺陷有新回复了 - label_notice_comment_template: 您的课程通知有新回复了 - label_news_comment_template: 您的项目新闻有新回复了 - label_homework_comment_template: 您的作业有新回复了 - label_new_second_comment_template: 您有新回复了 - label_new_journals_template: 您有新留言了 - label_journals_comment_template: 您的留言有新回复了 - label_blog_comment_template: 您的博客有新回复了 - label_new_blog_template: 有新博客了 - label_new_issue_template: 有新的问题动态了 - label_new_notice_template: 您的课程有新通知了 + label_new_homework_template: 您有新作业了。 + label_update_homework_template: 您的作业已被修改。 + label_course_topic_template: 课程问答区有新帖子发布了。 + label_topic_comment_template: 您的帖子有新回复了。 + label_project_topic_template: 项目讨论区有新帖子发布了。 + label_issue_comment_template: 您的缺陷有新回复了。 + label_notice_comment_template: 您的课程通知有新回复了。 + label_news_comment_template: 您的项目新闻有新回复了。 + label_homework_comment_template: 您的作业有新回复了。 + label_new_second_comment_template: 您有新回复了。 + label_new_journals_template: 您有新留言了。 + label_journals_comment_template: 您的留言有新回复了。 + label_blog_comment_template: 您的博客有新回复了。 + label_new_blog_template: 有新博客了。 + label_new_issue_template: 有新的问题动态了。 + label_new_notice_template: 您的课程有新通知了。 #edit yk label_code_work_tests: 代码测试列表 diff --git a/config/wechat.yml.template b/config/wechat.yml.template index ee2be1c51..02ec8db55 100644 --- a/config/wechat.yml.template +++ b/config/wechat.yml.template @@ -21,7 +21,7 @@ default: &default homework_message_notice: "tCf7teCVqc2vl2LZ_hppIdWmpg8yLcrI8XifxYePjps" class_notice: "MQ_mFupbXP-9jWbeHT3C5xqNBvPo8EIlNv4ULakSpJA" create_class_notice: "2GtJJGzzNlNy2i0UrsjEDlvfSVIUXQfSo47stpcQAVw" - create_project_notice: "R2ZaQKJfDJgujPcHWPzadKHIRkIyj2CjX2o_qIuRqig" + create_project_notice: "jYu0iimbDpgWYZaTLXioZe2lvqoWTdKnUPyphTJ1mxs" production: <<: *default