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