Revert "feat(claim): Rock 同一提货号过期后自动换新二维码"

This reverts commit 9d981c253f.
This commit is contained in:
yml2213
2026-10-06 18:08:20 +08:00
parent 9d981c253f
commit 98dc675b88
4 changed files with 42 additions and 177 deletions
@@ -332,8 +332,6 @@ export type AffiliateDashFlow = {
lastSyncedAt: unknown
/** 最近一次成功拉取 bind-result 的时间。与订单状态的 lastSyncedAt 分开计。 */
lastBindSyncedAt: unknown
/** 最近一次向 0666 重取同一提货号二维码的时间,用来避免过期链接每轮都打上游。 */
rockBindUrlCheckedAt: unknown
raw: unknown
/** dev-mock 标记:enabled 时所有 affiliate-dash 平台调用短路(建单/绑定/提交/同步均不请求外部) */
mock: { enabled: boolean; orderNo: string; createdAt: string } | null
@@ -376,7 +374,6 @@ export function normalizeAffiliateDashFlow(value: unknown): AffiliateDashFlow {
consumeStatus: String(source.consumeStatus || 'pending').trim(),
lastSyncedAt: source.lastSyncedAt || null,
lastBindSyncedAt: source.lastBindSyncedAt || null,
rockBindUrlCheckedAt: source.rockBindUrlCheckedAt || null,
raw,
mock:
source.mock && typeof source.mock === 'object'