mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-03-06 21:57:04 +00:00
11
This commit is contained in:
parent
b8f660d1cd
commit
36bdaf8739
@ -9,7 +9,8 @@ export class HomeController {
|
||||
|
||||
@Get('/1')
|
||||
async home(@Query() data: string) {
|
||||
console.log(await this.coolCache.set('a', data, 10000))
|
||||
//console.log(this.coolCache)
|
||||
await this.coolCache.set('a', data);
|
||||
return await this.coolCache.get('a');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user