diff --git a/src/controller/admin/patient.js b/src/controller/admin/patient.js index dd8883f..249ce83 100644 --- a/src/controller/admin/patient.js +++ b/src/controller/admin/patient.js @@ -499,7 +499,7 @@ module.exports = class extends Base { if (type === 'approved' && templates.auditApproved) { await this.sendNotifySms(phone, templates.auditApproved, [], 'audit_approved'); } else if (type === 'rejected' && templates.auditRejected) { - // 驳回原因截取前20字符(短信模板变量有长度限制) + // 驳回原因截取前15字符(短信模板变量有长度限制) const shortReason = (reason || '资料不符合要求').slice(0, 15); await this.sendNotifySms(phone, templates.auditRejected, [shortReason], 'audit_rejected'); }