更新菜单控制器
This commit is contained in:
@@ -102,8 +102,7 @@ namespace Yi.Framework.ApiMicroservice.Controllers
|
||||
public async Task<Result> AddChildrenMenu(ChildrenDto<menu> childrenDto)
|
||||
{
|
||||
var _menu = await _menuService.GetEntityById(childrenDto.parentId);
|
||||
var _children= await _menuService.AddChildrenMenu(_menu);
|
||||
_children = childrenDto.data;
|
||||
var _children= await _menuService.AddChildrenMenu(_menu,childrenDto.data);
|
||||
return Result.Success();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user