spring前后台参数传递

controller接收参数最好使用引用类型

不要使用int等基本类型参数

直接使用基本类型做参数时因为如果不传递该参数

后台会报参数转换异常

猜你喜欢

转载自blog.csdn.net/weixin_42499073/article/details/83793460
今日推荐