fix(rock): 按链接签名时间提前刷新二维码,扫码查询改为 5 秒

腾讯活动链接大约 10 分钟后签名过期。从链接 timestamp 起满 8 分钟就换新码,避免买家扫到失效二维码。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yml2213
2026-10-07 09:49:26 +08:00
co-authored by Cursor
parent 8cc5d42d53
commit fcbd7715c7
3 changed files with 78 additions and 15 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ export default function Delivery() {
}
const timer = setInterval(() => {
checkBindStatus(true)
}, 2500)
}, 5000)
return () => clearInterval(timer)
}, [bindResult?.bind_uuid, boundInfo?.bound, submitting, submitResult, checkBindStatus])