zhongrj
2022-10-24 0cc95376f2af6fa5dfbe63ff79cbaf94674531e0
src/main/java/org/springblade/modules/hd/controller/HdController.java
@@ -56,6 +56,12 @@
   @ApiOperation(value = "详情", notes = "传入hd")
   public R<Hd> detail(Hd hd) {
      Hd detail = hdService.getOne(Condition.getQueryWrapper(hd));
      Long id = detail.getId();
      String d=String.valueOf(id);
      String s = hdService.selectInfo(d);
      String name = hdService.selectInfos(d);
      detail.setUrl(s);
      detail.setMapname(name);
      return R.data(detail);
   }
@@ -122,6 +128,15 @@
      return R.status(hdService.removeByIds(Func.toLongList(ids)));
   }
   /**
    * 查询所有活动的名称
    * @return
    */
   @PostMapping("/selectInList")
   public R selectInList() {
      return R.data(hdService.selectInList());
   }
}