Commit 0941f2bc authored by diaoruifeng's avatar diaoruifeng

Merge remote-tracking branch 'origin/master'

parents e1fbf4eb db03a848
......@@ -45,12 +45,18 @@ public class OcpApiTreeController {
}
/**
* 服务树分类--新增---
*
* @param ocpApiGroup
* @return
*/
@PostMapping("/instertree")
@ApiOperation("服务树分类--新增")
public ResponseVO inseter(@RequestBody OcpApiGroup ocpApiGroup){
OcpApiGroup ocpApiGroup1 = service.insertTree(ocpApiGroup);
if (StringUtils.isBlank(ocpApiGroup1.getApiGroupName())){
return ResponseVO.error("服务名称已经存在");
if (StringUtils.isBlank(ocpApiGroup1.getApiGroupCode())){
return ResponseVO.error("服务名称已经存在!");
}else {
return ResponseVO.ok(ocpApiGroup1);
}
......
......@@ -75,6 +75,7 @@ public class OcpTenantIocnServiceImpl extends ServiceImpl<OcpTenantIocnMapper, O
}*/
List<OcpTenantGroupIocnDto> groupIocnDtos = ocpTenantBaseMapper.selectAlls();
return groupIocnDtos;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment