refactor: 抽离模板工作空间服务
This commit is contained in:
1 parent
9e4f2620c6
commit
b2788966bf
3 files changed
+178
-153
No files matched your search
@@ -51,6 +51,7 @@ import { readIdentity, signIdentity } from "./auth.js";
|
||||
import { ApiExceptionFilter, RequestIdMiddleware } from "./http.js";
|
||||
import { brandTemplates, getBrandTemplate } from "@personal-brand/config";
|
||||
import { AdminWorkspaceController } from "./admin-workspace.controller.js";
|
||||
import { TemplateWorkspaceService } from "./template-workspace.service.js";
|
||||
|
||||
@Controller("health")
|
||||
export class HealthController {
|
||||
@@ -587,7 +588,13 @@ export class AdminConfigController {
|
||||
AdminBookingController,
|
||||
AdminConfigController,
|
||||
],
|
||||
providers: [PrismaService, WechatAuthService, BookingService, AdminAuthService],
|
||||
providers: [
|
||||
PrismaService,
|
||||
WechatAuthService,
|
||||
BookingService,
|
||||
AdminAuthService,
|
||||
TemplateWorkspaceService,
|
||||
],
|
||||
exports: [PrismaService, WechatAuthService],
|
||||
})
|
||||
export class AppModule {}
|
||||
|
||||
Reference in new issue
Block a user