|
@@ -416,7 +416,7 @@ class LessonService extends CrudService {
|
|
|
if (openid) {
|
|
|
const tourl = this.ctx.app.config.baseUrl + '/msgconfirm/?userid=' + teacherUser.uid + '¬iceid=' + nresid;
|
|
|
// TODO 推送
|
|
|
- const res = await this.ctx.service.weixin.sendTemplateDesign(
|
|
|
+ await this.ctx.service.weixin.sendTemplateDesign(
|
|
|
this.ctx.app.config.REVIEW_TEMPLATE_ID,
|
|
|
openid,
|
|
|
'您有一个新的通知,请点击信息,确认您已收到信息!(若已确认,则无需理会)',
|
|
@@ -425,7 +425,6 @@ class LessonService extends CrudService {
|
|
|
'感谢您的使用',
|
|
|
tourl
|
|
|
);
|
|
|
- console.error(`wx:${res}`);
|
|
|
person = { notifiedid: teacherUser.uid, username: teacherUser.name };
|
|
|
}
|
|
|
}
|