|
|
@@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
import javax.annotation.Resource;
|
|
|
import javax.validation.Valid;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
+import java.util.List;
|
|
|
|
|
|
@RequestMapping("/api/v1/system/userInfo")
|
|
|
@RestController
|
|
|
@@ -51,6 +52,13 @@ public class SysUserInfoController {
|
|
|
return R.fail(SuccessResultCode.SUCCESS.getCode(), SuccessResultCode.SUCCESS.getMsg());
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("批量删除数据")
|
|
|
+ @DeleteMapping("/batchDelete")
|
|
|
+ public R batchDelete(@RequestBody List<Long> ids) throws CustomException {
|
|
|
+ sysUserInfoService.batchDelete(ids);
|
|
|
+ return R.success(SuccessResultCode.SUCCESS.getCode(), "批量删除成功");
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("修改数据")
|
|
|
@PutMapping("/edit")
|
|
|
public R edit(@RequestBody @Valid SysUserInfoUpdateBo sysUserInfo) throws CustomException {
|