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