fix: reconcile GoPay steps and phone provider flows

- 吸收 PR #193/#194 后补齐 GoPay 订阅确认步骤注册,保持 GoPay Plus 为订阅确认后进入 OAuth 的 11 步流程。

- 修复手机号接码 provider 合并冲突,恢复 5sim/NexSMS/provider 顺序、复用池、价格阶梯和国家回退逻辑。

- 影响范围:共享步骤定义、background 步骤注册、手机号验证 Step 9、相关单元测试。
This commit is contained in:
QLHazyCoder
2026-05-04 04:27:49 +08:00
parent d4b170a5d7
commit 16beb69db8
5 changed files with 298 additions and 86 deletions
+2
View File
@@ -16,6 +16,8 @@ test('background imports step registry and shared step definitions', () => {
assert.match(source, /activeStepRegistry\.executeStep\(step,\s*\{/);
assert.match(source, /background\/steps\/create-plus-checkout\.js/);
assert.match(source, /background\/steps\/fill-plus-checkout\.js/);
assert.match(source, /background\/steps\/gopay-manual-confirm\.js/);
assert.match(source, /'gopay-subscription-confirm': \(state\) => goPayManualConfirmExecutor\.executeGoPayManualConfirm\(state\)/);
assert.match(source, /background\/steps\/paypal-approve\.js/);
assert.match(source, /background\/steps\/gopay-approve\.js/);
assert.match(source, /background\/steps\/plus-return-confirm\.js/);