Merge pull request #182 from miraizhao/bugfix/fix-demo-cache-service-time-description

fix: 修改demo-ervice-cache装饰器的传参为5000,与注释5秒一致
This commit is contained in:
COOL 2025-02-11 13:39:56 +08:00 committed by GitHub
commit 4bec5e5e17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {