@requestParam和@requestVaariable的比较

在功能上比较类型,都是用于用户的输入,区别就是 前者是在参数部分, 后者是在url路径部分,
例如:
通过@requestParam /user?name=""&password=""
通过@requestVaariable /user/{name}/{password}

猜你喜欢

转载自blog.csdn.net/jieyigeweixiao/article/details/87106895