feat(M08-D): 补团购与第三方平台运营

This commit is contained in:
Codex
2026-08-10 12:10:15 +08:00
parent e8bd176914
commit 7b978089d5
9 changed files with 493 additions and 50 deletions
+22
View File
@@ -13,10 +13,12 @@ for (const pattern of [
"activeModule = 'stores'",
"activeModule = 'orders'",
"activeModule = 'payments'",
"activeModule = 'thirdParty'",
'平台运营总览',
'StoresRoomsPanel',
'OrdersPanel',
'PaymentsPanel',
'ThirdPartyPanel',
'运营总览',
'savedToken',
'loadCleaningWorkspace'
@@ -120,6 +122,24 @@ for (const pattern of [
assert.match(payments, new RegExp(pattern));
}
const thirdParty = read('admin/src/components/ThirdPartyPanel.vue');
for (const pattern of [
'listThirdPartyRecords',
'getThirdPartySetup',
'redeemGroupVoucher',
'redeemGroupVoucherManually',
'saveThirdPartyConfig',
'saveThirdPartyMapping',
'voucherCode',
'PENDING_MAPPING'
]) {
assert.match(thirdParty, new RegExp(pattern));
}
const thirdPartyRoutes = read('backend/src/routes/third-party.ts');
assert.match(thirdPartyRoutes, /'\/admin-api\/third-party\/setup'/);
assert.match(thirdPartyRoutes, /'\/admin-api\/group-vouchers\/redeem'/);
const routes = read('backend/src/routes/business-statistics.ts');
assert.match(routes, /'\/app-api\/management\/statistics', '\/admin-api\/statistics'/);
@@ -151,6 +171,8 @@ for (const pattern of [
'.history-card',
'.payment-metrics',
'.payment-tools-grid',
'.third-party-metrics',
'.settings-preview',
'@media (max-width: 980px)',
'@media (max-width: 560px)'
]) {