fix: 修正华夏验证码链接发送
This commit is contained in:
parent
d8c2fa7c6e
commit
8dacf3dd1a
@ -383,7 +383,7 @@ async function postDingTalkPrompt(fillUrl) {
|
||||
msgtype: 'actionCard',
|
||||
actionCard: {
|
||||
title: '华夏银行验证码填写',
|
||||
text: '华夏银行短信验证码已发送。请点击下方按钮填写,链接 5 分钟内有效且只能提交一次。',
|
||||
text: '请接收验证码。华夏银行短信验证码已发送,请点击下方按钮填写;链接 5 分钟内有效且只能提交一次。',
|
||||
btnOrientation: '0',
|
||||
singleTitle: '填写华夏验证码',
|
||||
singleURL: fillUrl,
|
||||
|
||||
@ -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 或验证码中继密钥未配置完整'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user