Commit 0687d3ca authored by 郭志伟's avatar 郭志伟

fix(list): 移除更新缓存功能

parent 6fb6550f
...@@ -91,9 +91,10 @@ export default class EditorController extends Controller { ...@@ -91,9 +91,10 @@ export default class EditorController extends Controller {
attributes: ['uuid'], attributes: ['uuid'],
where where
}); });
pageInfo.forEach(async item => { for (const item of pageInfo) {
await ctx.service.redis.del(`page:${item.uuid}`); await ctx.service.redis.del(`page:${item.uuid}`);
}); ctx.logger.info(`del redis page key page:${item.uuid}`);
}
ctx.body = ctx.helper.ok(); ctx.body = ctx.helper.ok();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment