lrf402788946 4 rokov pred
rodič
commit
270eaa2c31
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      app/service/notice.js

+ 2 - 2
app/service/notice.js

@@ -67,9 +67,9 @@ class NoticeService extends CrudService {
       const openid = _.get(user, 'openid');
       const remark = '感谢您的使用';
       const date = await this.ctx.service.util.updatedate();
-      const detail = '尊敬的' + user.name + ',您有一个新的通知,请及时查收';
+      const detail = content;
       const tourl = this.ctx.app.config.baseUrl + '/mobiledirtea/messageInfo/index?uid=' + user.uid + '&noticeid=' + res.id;
-      this.ctx.service.weixin.sendTemplateDesign(this.ctx.app.config.REVIEW_TEMPLATE_ID, openid, '您有一个新的通知', detail, date, remark, tourl);
+      this.ctx.service.weixin.sendTemplateDesign(this.ctx.app.config.REVIEW_TEMPLATE_ID, openid, '您有一个新的通知,请点击确认您已收到信息!', detail, date, remark, tourl);
       const notified = _.get(res, 'notified', []);
       notified.push({ notifiedid: user._id, username: user.name });
       res.notified = notified;