刘磊
2025-04-19 823752496e2a4cdb6a1fb36227cd15b8b7135336
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
    }
}