|
|
@@ -84,7 +84,7 @@ public class ActionBindingController extends BaseController
|
|
|
@Log(title = "动作关联管理", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
@ApiOperation(value = "新增动作关联管理")
|
|
|
- public AjaxResult add(@ApiParam(name = "动作关联对象",value = "动作关联对象") ActionBinding actionBinding)
|
|
|
+ public AjaxResult add(@RequestBody ActionBinding actionBinding)
|
|
|
{
|
|
|
return toAjax(actionBindingService.insertActionBinding(actionBinding));
|
|
|
}
|
|
|
@@ -96,7 +96,7 @@ public class ActionBindingController extends BaseController
|
|
|
@Log(title = "动作关联管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
@ApiOperation(value = "修改动作关联管理")
|
|
|
- public AjaxResult edit(@ApiParam(name = "动作关联对象",value = "动作关联对象") ActionBinding actionBinding)
|
|
|
+ public AjaxResult edit(@RequestBody ActionBinding actionBinding)
|
|
|
{
|
|
|
return toAjax(actionBindingService.updateActionBinding(actionBinding));
|
|
|
}
|
|
|
@@ -119,7 +119,7 @@ public class ActionBindingController extends BaseController
|
|
|
@PreAuthorize("@ss.hasPermi('hnyz:actionBinding:edit')")
|
|
|
@Log(title = "动作关联管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/changeStatus")
|
|
|
- public AjaxResult changeStatus(ActionBinding actionBinding){
|
|
|
+ public AjaxResult changeStatus(@RequestBody ActionBinding actionBinding){
|
|
|
return toAjax(actionBindingService.changeStatus(actionBinding));
|
|
|
}
|
|
|
}
|