TASK:workspace、design模块代码;
This commit is contained in:
@@ -76,11 +76,11 @@ public class WorkspaceController {
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@PostMapping("/remove")
|
||||
@DeleteMapping("/remove")
|
||||
@ApiOperationSupport(order = 4)
|
||||
@ApiOperation(value = "删除", notes = "传入id")
|
||||
public Response remove(@ApiParam(value = "主键集合", required = true) @RequestParam Long id) {
|
||||
return Response.success(workspaceService.removeById(id));
|
||||
public Response remove(@Valid @RequestBody List<Workspace> workspaceList) {
|
||||
return Response.success(workspaceService.removeBatchByIds(workspaceList));
|
||||
}
|
||||
|
||||
@GetMapping("/enumValues")
|
||||
|
||||
Reference in New Issue
Block a user