| | |
| | | @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); |
| | | } |
| | | |
| | |
| | | return R.status(hdService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | /** |
| | | * 查询所有活动的名称 |
| | | * @return |
| | | */ |
| | | @PostMapping("/selectInList") |
| | | public R selectInList() { |
| | | return R.data(hdService.selectInList()); |
| | | } |
| | | |
| | | |
| | | |
| | | } |