feat(M08-D): 补多小程序与租户配置

This commit is contained in:
Codex
2026-08-10 12:37:53 +08:00
parent b3fba4b815
commit c7f27bc724
12 changed files with 517 additions and 1 deletions
+11
View File
@@ -16,6 +16,7 @@ for (const pattern of [
"activeModule = 'thirdParty'",
"activeModule = 'people'",
"activeModule = 'devices'",
"activeModule = 'platformApps'",
'平台运营总览',
'StoresRoomsPanel',
'OrdersPanel',
@@ -23,6 +24,7 @@ for (const pattern of [
'ThirdPartyPanel',
'MembersStaffPanel',
'DevicesPanel',
'PlatformAppsPanel',
'运营总览',
'savedToken',
'loadCleaningWorkspace'
@@ -175,6 +177,14 @@ for (const pattern of [
assert.match(devices, new RegExp(pattern));
}
const platformApps = read('admin/src/components/PlatformAppsPanel.vue');
for (const pattern of ['listPlatformApplications', 'updatePlatformApplicationConfig', 'bindPlatformApplication', 'AppSecret', 'extraConfigText']) {
assert.match(platformApps, new RegExp(pattern));
}
const platformRoutes = read('backend/src/routes/platform-management.ts');
assert.match(platformRoutes, /'\/admin-api\/platform-apps'/);
assert.match(platformRoutes, /PLATFORM_MANAGEMENT_FORBIDDEN/);
const routes = read('backend/src/routes/business-statistics.ts');
assert.match(routes, /'\/app-api\/management\/statistics', '\/admin-api\/statistics'/);
@@ -212,6 +222,7 @@ for (const pattern of [
'.member-detail-grid',
'.device-metrics',
'.device-topology-grid',
'.platform-app-metrics',
'@media (max-width: 980px)',
'@media (max-width: 560px)'
]) {