获取场景关系
This commit is contained in:
@@ -64,4 +64,15 @@ public class SceneController extends BaseController {
|
||||
public AjaxResult getAllTree(@PathVariable Integer id){
|
||||
return success(sceneService.getAllTree(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据场景id获取场景下所有关系
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/getAllRelation/{id}")
|
||||
@ApiOperation("根据场景id获取场景下所有关系")
|
||||
public AjaxResult getAllRelation(@PathVariable Integer id){
|
||||
return success(sceneService.getAllRelation(id));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user