|
@@ -25,14 +25,14 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
* @date 2021-06-25
|
|
|
*/
|
|
|
@RestController
|
|
|
-@RequestMapping("/define/relation")
|
|
|
+@RequestMapping("/rwd/def/rel")
|
|
|
public class RelationDefineController {
|
|
|
|
|
|
@Autowired
|
|
|
private IRelationDefineService service;
|
|
|
|
|
|
- @PostMapping("query")
|
|
|
- public CommonResult<PageList<ObjectTypeDefine>> query(@RequestBody QueryCriteria criteria) {
|
|
|
+ @PostMapping("/query")
|
|
|
+ public CommonResult<PageList<RelationDefine>> query(@RequestBody QueryCriteria criteria) {
|
|
|
if(criteria == null) {
|
|
|
throw new BusinessException(ResponseCode.A0400.getCode(), ResponseCode.A0400.getDesc());
|
|
|
}
|