## egg路由router的设计 ![](https://img.kancloud.cn/9e/45/9e45b55140b8a96641da06e0bca86d23_514x125.png) * 利用node.js中的fs模块 * 参考文章egg-router-plus:http://www.ptbird.cn/eggjs-router-more.html ## redLock ### 参考文档:https://www.npmjs.com/package/redlock ![](https://img.kancloud.cn/16/8e/168e58b34c4fb7d3097c72430984d3ce_803x360.png) ## 事务,操作对象必须是 **model** > https://www.cnblogs.com/zyulike/p/10126033.html