Spring Controller RequestMapping

不同的Controller,可以标记相同的RequestMapping

但是精确到函数上时,不可以标记相同的RequestMapping构成完成相同的请求路径,如果标记,运行会报错,提示有相同的路径,这是不允许的。

原文地址:https://www.cnblogs.com/fengzhentian/p/4669679.html