post请求使用 RequestBody注解 一个方法体中的参数只能有一个RequestBody注解
@Validated @Valid @NotNull
没有值时,Integer给个null int给个0(int默认值是0)
RequestParam的使用
https://jingyan.baidu.com/article/546ae185c816641148f28c66.html
post请求使用 RequestBody注解 一个方法体中的参数只能有一个RequestBody注解
@Validated @Valid @NotNull
没有值时,Integer给个null int给个0(int默认值是0)
RequestParam的使用
https://jingyan.baidu.com/article/546ae185c816641148f28c66.html