feat: integrate unified payment and wallet refunds

This commit is contained in:
2026-08-02 23:24:32 +08:00
parent f0b8af0bc8
commit 82a2106a97
64 changed files with 1519 additions and 254 deletions

View File

@@ -1,4 +1,4 @@
import { readFileSync } from 'node:fs';
import { readFileSync } from 'node:fs';
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
@@ -14,8 +14,8 @@ const frontendDefinitions = [
].map((match) => ({ name: match[1], mode: match[2] }));
const frontendNames = frontendDefinitions.map((item) => item.name);
const embeddedResources = new Set([
'wallet_basic', 'wallet_bank', 'wallet_payment', 'wallet_record',
'wallet_refund', 'wallet_apply_cash',
'wallet_basic', 'wallet_bank', 'payment_order', 'wallet_record',
'payment_refund', 'wallet_apply_cash',
]);
for (const name of frontendNames) {