mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-03 00:38:12 +00:00
fix: 修改demo-ervice-cache装饰器的传参为5000,与注释5秒一致
This commit is contained in:
parent
16d8560734
commit
9b5f8c8445
@ -7,7 +7,7 @@ import { CoolCache } from '@cool-midway/core';
|
||||
@Provide()
|
||||
export class DemoCacheService {
|
||||
// 数据缓存5秒
|
||||
@CoolCache(5)
|
||||
@CoolCache(5000)
|
||||
async get() {
|
||||
console.log('执行方法');
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user