feat(M08-D): 补多小程序与租户配置
This commit is contained in:
@@ -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)'
|
||||
]) {
|
||||
|
||||
Reference in New Issue
Block a user