mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
http 模板查询byid
This commit is contained in:
parent
406b4d91bf
commit
1b74f4a39d
@ -63,16 +63,8 @@ public class H5ProjectController {
|
||||
*/
|
||||
@Operation(summary = "根据ID查询H5项目")
|
||||
@GetMapping("/{id}")
|
||||
public H5ProjectDetailVO getH5ProjectById(@PathVariable Long id) {
|
||||
H5Project h5Project = h5ProjectService.getH5ProjectWithContent(id);
|
||||
|
||||
H5ProjectDetailVO detailVO = new H5ProjectDetailVO();
|
||||
detailVO.setProject(h5Project);
|
||||
|
||||
// 获取项目关联的分组ID列表
|
||||
List<Long> groupIds = h5ProjectService.getProjectGroupIds(id);
|
||||
detailVO.setGroupIds(groupIds);
|
||||
return detailVO;
|
||||
public H5Project getH5ProjectById(@PathVariable Long id) {
|
||||
return h5ProjectService.getH5ProjectWithContent(id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user