@@ -32,6 +32,7 @@ class LeaveService extends CrudService {
const detail = student.name + '发起了请假请求(点击消息审核请假)';
const remark = '感谢您的使用';
const to_uri = `${this.app.config.baseUrl}/msgconfirm/leave/status?id=${entity.id}`;
+ console.log(to_uri);
if (openid) { await this.ctx.service.weixin.sendTemplateMsg(this.ctx.app.config.REVIEW_TEMPLATE_ID, openid, '您有一个学生请假通知', detail, date, remark, to_uri); }
}
return await this.fetch({ id: entity.id });