通过ts的反射reflect-metadata和修饰器实现nest的@Controller和@Get功能 源码 GitHub:https://github.com/JYbill/implement-nestjs-controller-get Gitee:https://gitee.com/JYbill/implement-nestjs-controller-get 还有很多可以完善的地方,通过这个案例,对ts的反射和对象、原型有了很大程度的理解 功能原理