fix: 修改demo-ervice-cache装饰器的传参为5000,与注释5秒一致

This commit is contained in:
Mirai Zhao 2024-07-24 11:38:40 +08:00
parent 16d8560734
commit 9b5f8c8445

View File

@ -7,7 +7,7 @@ import { CoolCache } from '@cool-midway/core';
@Provide()
export class DemoCacheService {
// 数据缓存5秒
@CoolCache(5)
@CoolCache(5000)
async get() {
console.log('执行方法');
return {