@NoNull等校验对象属性验证无效问题
@NoNull等校验无效问题controller 中增加@Valid 与, BindingResult resultpublic CommonResult<TraceReturnDto> traceComputer(@Valid @RequestBody TraceParamVm traceParam, BindingResult result) throws ApiException { log.info("request:{}", JSON.toJSONString(t
原创
2020-05-22 22:40:05 ·
728 阅读 ·
1 评论