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