diff --git a/scripts/hxb-bank/export-daily.mjs b/scripts/hxb-bank/export-daily.mjs index 56cf0b172..3dff69d50 100644 --- a/scripts/hxb-bank/export-daily.mjs +++ b/scripts/hxb-bank/export-daily.mjs @@ -383,7 +383,7 @@ async function postDingTalkPrompt(fillUrl) { msgtype: 'actionCard', actionCard: { title: '华夏银行验证码填写', - text: '华夏银行短信验证码已发送。请点击下方按钮填写,链接 5 分钟内有效且只能提交一次。', + text: '请接收验证码。华夏银行短信验证码已发送,请点击下方按钮填写;链接 5 分钟内有效且只能提交一次。', btnOrientation: '0', singleTitle: '填写华夏验证码', singleURL: fillUrl, diff --git a/scripts/hxb-bank/run-hxb-daily.ps1 b/scripts/hxb-bank/run-hxb-daily.ps1 index fdf3d7b22..e9ba828a6 100644 --- a/scripts/hxb-bank/run-hxb-daily.ps1 +++ b/scripts/hxb-bank/run-hxb-daily.ps1 @@ -70,7 +70,7 @@ if ([string]::IsNullOrWhiteSpace($relayBase)) { } $relaySecret = [regex]::Match( $secret, - '(?m)^- 华夏验证码中继密钥:([a-fA-F0-9]{64})$' + '(?m)^- 华夏验证码中继密钥:([a-fA-F0-9]{64})\s*$' ).Groups[1].Value.Trim() if (-not $phone -or -not $password -or -not $webhook -or -not $relaySecret) { throw '华夏银行手机号、密码、钉钉 Webhook 或验证码中继密钥未配置完整'