|
@@ -12,6 +12,7 @@ import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -72,7 +73,7 @@ public class OrgIpController extends ControllerSupport {
|
|
|
|
|
|
@ApiOperation(value = "删除")
|
|
|
@PostMapping("delete")
|
|
|
- public void delete(ArrayList<Long> ids) {
|
|
|
+ public void delete(@RequestBody ArrayList<Long> ids) {
|
|
|
User user = getAccessUser();
|
|
|
orgIpService.delete(ids, user.getRootOrgId());
|
|
|
}
|