lrf402788946 4 yıl önce
ebeveyn
işleme
4721c5807f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/service/leave.js

+ 1 - 1
app/service/leave.js

@@ -96,7 +96,7 @@ class LeaveService extends CrudService {
           if (leave.type === '1') {
             const to_uri = `${this.app.config.baseUrl}/msgconfirm/leave/confirm?id=${leave.id}`;
             const remark = '点击消息确认学生是否已经退出';
-            this.ctx.service.weixin.sendTemplateMsg(this.ctx.app.config.REVIEW_TEMPLATE_ID, 'ocPqjswkUejZHq2ANriNrFFC7A3I', '您有一个新的通知', toOtherMsg, date, remark, to_uri);
+            this.ctx.service.weixin.sendTemplateDesign(this.ctx.app.config.REVIEW_TEMPLATE_ID, 'ocPqjswkUejZHq2ANriNrFFC7A3I', '您有一个新的通知', toOtherMsg, date, remark, to_uri);
           } else {
             this.ctx.service.weixin.sendTemplateMsg(this.ctx.app.config.REVIEW_TEMPLATE_ID, 'ocPqjswkUejZHq2ANriNrFFC7A3I', '您有一个新的通知', toOtherMsg, date, remark);
           }