Merge branch 'wms_dev' into dev
This commit is contained in:
@@ -366,6 +366,10 @@ public class UserAPI extends BaseController {
|
||||
@Log(title = "用户中台管理-删除", description ="批量删除用户",businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/removeByIds/{ids}")
|
||||
public AjaxResult removeByIds(@PathVariable List<Long> ids) {
|
||||
// 检查ids是否为空
|
||||
if (ids == null || ids.isEmpty()) {
|
||||
return error("删除的用户ID列表不能为空");
|
||||
}
|
||||
return toAjax(userApplicationService.deleteByIds(ids));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user