|
@@ -40,11 +40,6 @@ public class SysChannelGradeController extends BaseController {
|
|
|
return HttpResult.ok(sysChannelGradeService.queryList());
|
|
return HttpResult.ok(sysChannelGradeService.queryList());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @PostMapping(value = "/queryRelationList/{id}")
|
|
|
|
|
- @ApiOperation(value = "获取关联机构列表")
|
|
|
|
|
- public HttpResult<Object> queryRelationList(@PathVariable Long id){
|
|
|
|
|
- return HttpResult.ok(sysChannelGradeService.queryRelationList(id));
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
@PostMapping(value = "/queryRelation")
|
|
@PostMapping(value = "/queryRelation")
|
|
|
@ApiOperation(value = "获取关联机构列表")
|
|
@ApiOperation(value = "获取关联机构列表")
|
|
@@ -110,13 +105,6 @@ public class SysChannelGradeController extends BaseController {
|
|
|
return HttpResult.ok("删除成功");
|
|
return HttpResult.ok("删除成功");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @DeleteMapping("/deleteAuth")
|
|
|
|
|
- @ApiOperation("删除分组授权机构")
|
|
|
|
|
- public HttpResult deleteAuth(@RequestBody AuthSysChannelGradeVo authSysChannelGradeVo) {
|
|
|
|
|
- sysChannelGradeService.deleteAuth(authSysChannelGradeVo);
|
|
|
|
|
- return HttpResult.ok("删除成功");
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
@PostMapping("/grade/authorized")
|
|
@PostMapping("/grade/authorized")
|
|
|
@ApiOperation("渠道分组授权机构")
|
|
@ApiOperation("渠道分组授权机构")
|
|
|
public HttpResult authorized(@RequestBody @Valid AuthSysChannelGradeVo authSysChannelGradeVo) {
|
|
public HttpResult authorized(@RequestBody @Valid AuthSysChannelGradeVo authSysChannelGradeVo) {
|