Spring中Controller层中的method显示为灰色并且提示method is never used的原因

原因是没有给方法添加修饰符,在方法上添加public即可

posted @ 2019-11-04 19:03  Tudoo  阅读(8150)  评论(4编辑  收藏  举报