1234567891011121314151617181920212223242526272829 |
- 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<MenuGetResponse>
- {
- public MenuQueryController(IMemoryCache cache, IApiClient client) : base(cache, client)
- {
- }
- protected override ApiRequest<MenuGetResponse> GetApiRequest()
- {
- return new MenuGetRequest
- {
- AccessToken = AccessToken
- };
- }
- }
- }
|