feat(admin): add MindSpace SEO/GEO controls and template catalog page

Expose SEO/GEO switches on the MindSpace config form and add template catalog management UI wired to shared Memind modules.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-10 08:06:21 +08:00
parent 7120d4b5ea
commit ed8bc6d1b1
13 changed files with 768 additions and 16 deletions
+7
View File
@@ -165,6 +165,12 @@ export async function bootstrapAdminServices() {
getPlanAsync: (planType) => planCatalogService.getPlan(planType),
});
subscriptionService._planCatalogService = planCatalogService;
const { createPageTemplateCatalogService } = await importMemind('page-template-catalog.mjs');
const templateCatalogService = createPageTemplateCatalogService(pool, {
userAuth,
h5Root,
});
await templateCatalogService.ensureReady();
await ensureSystemTestAccountSchema(pool);
const systemTestAccountService = createSystemTestAccountService(pool);
@@ -196,6 +202,7 @@ export async function bootstrapAdminServices() {
wordFilterService,
planCatalogService,
subscriptionService,
templateCatalogService,
USER_COOKIE,
userLoginCookies,
clearUserSessionCookie,