From 9b5f8c8445791acbb71a577a3207597d7481ce07 Mon Sep 17 00:00:00 2001 From: Mirai Zhao Date: Wed, 24 Jul 2024 11:38:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9demo-ervice-cache?= =?UTF-8?q?=E8=A3=85=E9=A5=B0=E5=99=A8=E7=9A=84=E4=BC=A0=E5=8F=82=E4=B8=BA?= =?UTF-8?q?5000=EF=BC=8C=E4=B8=8E=E6=B3=A8=E9=87=8A5=E7=A7=92=E4=B8=80?= =?UTF-8?q?=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/demo/service/cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/demo/service/cache.ts b/src/modules/demo/service/cache.ts index 01d3de8..4a77f10 100644 --- a/src/modules/demo/service/cache.ts +++ b/src/modules/demo/service/cache.ts @@ -7,7 +7,7 @@ import { CoolCache } from '@cool-midway/core'; @Provide() export class DemoCacheService { // 数据缓存5秒 - @CoolCache(5) + @CoolCache(5000) async get() { console.log('执行方法'); return {