mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-02-18 10:13:49 +00:00
Merge pull request #182 from miraizhao/bugfix/fix-demo-cache-service-time-description
fix: 修改demo-ervice-cache装饰器的传参为5000,与注释5秒一致
This commit is contained in:
commit
4bec5e5e17
@ -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