From e22d5c4e700e9cbea304ac6eccd25ee5e8fdbdd5 Mon Sep 17 00:00:00 2001 From: leiyun Date: Tue, 24 Mar 2026 15:21:39 +0800 Subject: [PATCH] =?UTF-8?q?save=20=E9=A9=B3=E5=9B=9E=E5=8E=9F=E5=9B=A0?= =?UTF-8?q?=E6=88=AA=E5=8F=96=E5=89=8D15=E5=AD=97=E7=AC=A6=EF=BC=88?= =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E6=A8=A1=E6=9D=BF=E5=8F=98=E9=87=8F=E6=9C=89?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B6=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controller/admin/patient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }