From c27c0ff39f13c58a70355b1cf5a885c707c6901c Mon Sep 17 00:00:00 2001 From: cool Date: Thu, 27 Jul 2023 13:14:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=97=A0=E7=94=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/welcome.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/welcome.ts b/src/welcome.ts index 508e9e9..7260af1 100644 --- a/src/welcome.ts +++ b/src/welcome.ts @@ -1,7 +1,5 @@ -import { CoolCloudDb } from '@cool-midway/cloud'; import { App, Controller, Get, Inject } from '@midwayjs/decorator'; import { Context, Application } from '@midwayjs/koa'; -import { TypeORMDataSourceManager } from '@midwayjs/typeorm'; /** * 欢迎界面 @@ -14,12 +12,6 @@ export class WelcomeController { @App() app: Application; - @Inject() - typeORMDataSourceManager: TypeORMDataSourceManager; - - @Inject() - coolCloudDb: CoolCloudDb; - @Get('/') public async welcome() { await this.ctx.render('welcome', {