openresty && hashids&& redis 生成短链接 2019年6月9日 redis 0条评论 301次阅读 0人点赞 1. 原理 a. 从redis 获取需要表示的短链接的id( redis incr) b. hashids 编码 id c. openresty conteent_by_lua_block 阶段显示数据 2.…