123
This commit is contained in:
@@ -144,6 +144,9 @@ public class DynamicController extends BaseController {
|
||||
@DeleteMapping("/{ids}")
|
||||
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
||||
@PathVariable Long[] ids) {
|
||||
return toAjax(dynamicService.removeBatchByIds(Arrays.asList(ids)));
|
||||
for (Long id : ids) {
|
||||
dynamicService.deleteDynamicAdmin(id);
|
||||
}
|
||||
return R.ok();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user