链接地址:https://blog.csdn.net/weixin_38950807/article/details/93709887
亲测可用!!!
我的情况是直接通过postMan可以调用,但是在其他项目中调用的话就无法注入,是null