//using FlexJobApi.Core; //using FlexJobApi.Core.Models; //using Furion.DynamicApiController; //using MediatR; //using Microsoft.AspNetCore.Mvc; //using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; //using System.Threading.Tasks; //namespace FlexJobApi.User.Application //{ // /// // /// 菜单 // /// // [Route("api/user/[controller]")] // public class MenuAppService(IMediator mediator) : IDynamicApiController // { // private readonly IMediator mediator = mediator; // #region 查询 // /// // /// 查询菜单列表 // /// // /// // /// // public Task> GetMenus(GetMenusQuery query) // { // return mediator.Send(query); // } // /// // /// 查询菜单详情 // /// // /// // /// // public Task GetMenu(GetMenuQuery query) // { // return mediator.Send(query); // } // #endregion // #region 写入 // /// // /// 保存菜单 // /// // /// // /// // public Task SaveMenu(SaveMenuCommand command) // { // return mediator.Send(command); // } // /// // /// 保存菜单按钮 // /// // /// // /// // public Task SaveMenuButton(SaveMenuButtonCommand command) // { // return mediator.Send(command); // } // /// // /// 保存菜单字段 // /// // /// // /// // public Task SaveMenuField(SaveMenuFieldCommand command) // { // return mediator.Send(command); // } // /// // /// 设置菜单切换信息 // /// // /// // /// // public Task SetMenuSwitch(SetMenuSwitchCommand command) // { // return mediator.Send(command); // } // /// // /// 删除菜单 // /// // /// // /// // public Task DeleteMenu(DeleteMenuCommand command) // { // return mediator.Send(command); // } // #endregion // } //}