fix(rock): 按链接签名时间提前刷新二维码,扫码查询改为 5 秒
腾讯活动链接大约 10 分钟后签名过期。从链接 timestamp 起满 8 分钟就换新码,避免买家扫到失效二维码。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user