mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-04 09:28: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()
|
@Provide()
|
||||||
export class DemoCacheService {
|
export class DemoCacheService {
|
||||||
// 数据缓存5秒
|
// 数据缓存5秒
|
||||||
@CoolCache(5)
|
@CoolCache(5000)
|
||||||
async get() {
|
async get() {
|
||||||
console.log('执行方法');
|
console.log('执行方法');
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user