using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using JCSoft.WX.Framework.Api; using Microsoft.AspNetCore.Mvc; using JCSoft.WX.Framework.Models.ApiRequests; using JCSoft.WX.Framework.Models.ApiResponses; using Microsoft.Extensions.Caching.Memory; namespace SupplierWeb.Controllers { [Route("api/menuQuery")] public class MenuQueryController : BaseApiController { public MenuQueryController(IMemoryCache cache, IApiClient client) : base(cache, client) { } protected override ApiRequest GetApiRequest() { return new MenuGetRequest { AccessToken = AccessToken }; } } }