From 41b6510b4e9d129a950d01ca6b1fd9d47b653174 Mon Sep 17 00:00:00 2001 From: dengqichen Date: Wed, 19 Nov 2025 14:34:03 +0800 Subject: [PATCH] dasdasd --- src/shared/libs/card-generator/config.js | 11 ++--------- .../automation-framework/configs/sites/windsurf.yaml | 7 +------ 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/shared/libs/card-generator/config.js b/src/shared/libs/card-generator/config.js index 94a703d..28a3c67 100644 --- a/src/shared/libs/card-generator/config.js +++ b/src/shared/libs/card-generator/config.js @@ -6,15 +6,8 @@ const CARD_TYPES = { unionpay: { name: '中国银联 (UnionPay)', - // 支持多个前缀,避免短时间内重复使用同一BIN触发风控 - prefixes: [ - '622836754', // 原始BIN(已验证可用) - '622836740', '622836741', '622836742', '622836743', - '622836744', '622836745', '622836746', '622836747', - '622836748', '622836749', '622836750', '622836751', - '622836752', '622836753', '622836755', '622836756', - '622836757', '622836758', '622836759' - ], + // 固定前缀(用户提供的成功案例都是这个前缀) + prefix: '622836754', length: 16, cvvLength: 3, useLuhn: true // 使用Luhn算法校验 diff --git a/src/tools/automation-framework/configs/sites/windsurf.yaml b/src/tools/automation-framework/configs/sites/windsurf.yaml index feb602c..472fbde 100644 --- a/src/tools/automation-framework/configs/sites/windsurf.yaml +++ b/src/tools/automation-framework/configs/sites/windsurf.yaml @@ -232,12 +232,7 @@ workflow: find: - css: 'input[placeholder*="地址"]' - css: 'input[placeholder*="Address"]' - value: "Macau" - addressLine2: - find: - - css: 'input[placeholder*="Address line 2"]' - - css: 'input[name="billingAddressLine2"]' - value: "Macao" + value: "kowloon" # 滚动到页面底部(确保订阅按钮可见) - action: scroll