huangxiaoqiang
2025-10-27 387731cab892804912e68cb91e6fb804411c4756
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
27
28
29
30
31
32
33
using WIDESEA_DTO.Basic;
 
namespace WIDESEA_WMSServer.Controllers;
 
[Route("api/[controller]")]
[ApiController]
public class BoxingInfoController : ApiBaseController<IBoxingInfoService, DtBoxingInfo>
{
    public BoxingInfoController(IBoxingInfoService service) : base(service)
    {
    }
    /// <summary>
    /// 组盘
    /// </summary>
    /// <param name="groupPlate"></param>
    /// <returns></returns>
    [HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous]
    public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate)
    {
        return Service.AddGroupPlateAsync(groupPlate);
    }
 
    /// <summary>
    /// 解盘
    /// </summary>
    /// <param name="groupPlate"></param>
    /// <returns></returns>
    [HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous]
    public async Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate)
    {
        return await Service.DeleteGroupPlateAsync(groupPlate);
    }
}