🎯 https://github.com/snapre
https://github.com/macacajs/macaca-datahub 文档:https://macacajs.github.io/macaca-datahub
研究一下 https://github.com/macacajs/macaca-datahub 你就知道原理了,mock server 会在中间劫持 http 请求,之后转发给后端,或者自己返回 mock 数据。