mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
rewrite litlyx
This commit is contained in:
@@ -10,7 +10,7 @@ export default defineEventHandler(async event => {
|
||||
|
||||
const { pid, from, to, project_id, limit } = data;
|
||||
|
||||
const cacheKey = `countries:${pid}:${from}:${to}`;
|
||||
const cacheKey = `countries:${pid}:${limit}:${from}:${to}`;
|
||||
const cacheExp = 60;
|
||||
|
||||
return await Redis.useCacheV2(cacheKey, cacheExp, async () => {
|
||||
|
||||
Reference in New Issue
Block a user