请问,能不能有个egg-redis的例子
@jtyjty99999 这个插件的 README 少了 example, 看完都不知道是不是挂在 app.redis
好的,谢谢了!!
用例有点问题, @jtyjty99999 我在改了
@kunzhijia 可以去看 egg-redis 的 README 或者测试用例
egg-redis怎么设置过期时间?
@nlove518
await redis.set('liveData', JSON.stringify(result), 'EX', 60)
有没有支持直接执行 redis 命令的方法,再套一层 api 怪麻烦的 。。。
This plugin based on ioredis, if you want to know specific usage, you should refer to the document of ioredis.
Most helpful comment
egg-redis怎么设置过期时间?