@RequestParam使用defaultValue属性设置默认值
注意设置必须是string类型的,框架自己会做转换
@RequestParam(value = "page", required = false, defaultValue = "1") Integer page,
@RequestParam(value = "size", required = false) Integer size,
@RequestParam使用defaultValue属性设置默认值
注意设置必须是string类型的,框架自己会做转换
@RequestParam(value = "page", required = false, defaultValue = "1") Integer page,
@RequestParam(value = "size", required = false) Integer size,