using Microsoft.AspNetCore.Http;
|
using WIDESEA_StoragIntegrationServices;
|
|
namespace WIDESEA_WMSServer.Controllers;
|
|
[Route("api/[controller]")]
|
[ApiController]
|
public class Dt_CacheInfoController : ApiBaseController<IDt_CacheInfoService, Dt_CacheInfo>
|
{
|
private readonly IDt_CacheInfoService _CacheInfoService;
|
public Dt_CacheInfoController(IDt_CacheInfoService service) : base(service)
|
{
|
_CacheInfoService = service;
|
}
|
|
/// <summary>
|
/// 指定缓存架
|
/// </summary>
|
/// <param name="input"></param>
|
/// <returns></returns>
|
[HttpPost, Route("AddCacheInfoByAPP"), AllowAnonymous]
|
public WebResponseContent AddCacheInfoByAPP([FromBody] SaveModel input)
|
{
|
return _CacheInfoService.AddCacheInfoByAPP(input);
|
}
|
}
|