From 36bdaf87391e466029135c039ab87405d2372d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=95=8A=E5=B9=B3?= <951984189@qq.com> Date: Sat, 6 Feb 2021 13:51:55 +0800 Subject: [PATCH] 11 --- src/controller/home.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controller/home.ts b/src/controller/home.ts index f8ded1a..7f7aa0c 100755 --- a/src/controller/home.ts +++ b/src/controller/home.ts @@ -9,7 +9,8 @@ export class HomeController { @Get('/1') async home(@Query() data: string) { - console.log(await this.coolCache.set('a', data, 10000)) + //console.log(this.coolCache) + await this.coolCache.set('a', data); return await this.coolCache.get('a'); } }