mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-28 21:00:17 +00:00
缓存
This commit is contained in:
parent
23af1a379c
commit
1c359ec4f5
@ -1,5 +1,5 @@
|
||||
import { Inject, Provide } from '@midwayjs/decorator';
|
||||
import { BaseService, CoolPlugin, Cache } from 'midwayjs-cool-core';
|
||||
import { BaseService, CoolPlugin } from 'midwayjs-cool-core';
|
||||
|
||||
/**
|
||||
* 插件
|
||||
@ -12,7 +12,6 @@ export class BasePluginInfoService extends BaseService {
|
||||
/**
|
||||
* 列表
|
||||
*/
|
||||
@Cache(3000)
|
||||
async list(keyWord) {
|
||||
return this.coolPlugin.list(keyWord);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user