触摸屏GP12

This commit is contained in:
2025-01-09 17:11:32 +08:00
parent a59e6c2302
commit 5e15573b1c
2 changed files with 24 additions and 5 deletions

View File

@@ -125,11 +125,18 @@ namespace ZR.Admin.WebApi.Controllers
[AllowAnonymous]
public IActionResult ScanInnerLabel([FromBody] QcGp12LabelScanDto parm)
{
var modal = parm.Adapt<QcGp12LabelScanDto>().ToCreate(HttpContext);
try
{
var modal = parm.Adapt<QcGp12LabelScanDto>().ToCreate(HttpContext);
var response = _QcGp12Service.ScanInnerLabel(modal);
var response = _QcGp12Service.ScanInnerLabel(modal);
return SUCCESS(response);
return SUCCESS(response);
}catch(Exception ex)
{
return SUCCESS("请刷新页面");
}
}
/// <summary>