|
@@ -171,6 +171,17 @@ public class AppFunInfoController {
|
|
return Result.success();
|
|
return Result.success();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "功能资源删除")
|
|
|
|
+ @ApiImplicitParam(name = "功能资源删除", value = "功能资源删除")
|
|
|
|
+ @DeleteMapping(value = "/id")
|
|
|
|
+ public Result deleteAppFunInfo(@PathVariable("id") String id) {
|
|
|
|
+ ResponseStatus responseStatus = iAppFunInfoFacade.deleteById(id);
|
|
|
|
+ if (!responseStatus.getStatusCode().equals("200")){
|
|
|
|
+ return Result.fail(responseStatus.getStatusCode(), responseStatus.getMessage());
|
|
|
|
+ }
|
|
|
|
+ return Result.success();
|
|
|
|
+ }
|
|
|
|
+
|
|
public List<TreeInfoVO> getChildTreeObjects(List<TreeInfoVO> list,
|
|
public List<TreeInfoVO> getChildTreeObjects(List<TreeInfoVO> list,
|
|
String parentCode) {
|
|
String parentCode) {
|
|
List<TreeInfoVO> returnList = new ArrayList<TreeInfoVO>();
|
|
List<TreeInfoVO> returnList = new ArrayList<TreeInfoVO>();
|