智慧保安后台管理-外网
Administrator
2021-08-02 a144dec759ca53e72a6421596fda2e92b468084f
src/main/java/org/springblade/modules/dispatcher/controller/DispatcherUnitController.java
@@ -116,7 +116,6 @@
   @PostMapping("/submit")
   public R submit(@Valid @RequestBody DispatcherUnit dispatcherUnit) throws Exception {
      if (dispatcherUnit.getId()==null){
         arg arg = new arg();
         arg.test01(arg.url+"/dispatcherUnit/save",dispatcherUnit);
      }
      if (null==dispatcherUnit.getId()){
@@ -131,7 +130,9 @@
    */
   @PostMapping("/remove")
   @ApiOperation(value = "删除", notes = "传入ids")
   public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) {
   public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) throws Exception {
      //内网删除
      arg.sendPostRemoveByIds(arg.url+"/dispatcherUnit/remove",ids);
      return R.status(dispatcherUnitService.removeByIds(Func.toLongList(ids)));
   }