如下代码,有路径参数与查询参数,我想同时封装到SubjectRequestParams 对象上,有没有办法
@GetMapping(path = "/{subjectCode}") public ResponseEntity<?> findSubject(SubjectRequestParams requestParams){ }
米琪卡哇伊
相关分类