新增打印方案返回id

This commit is contained in:
wintel
2023-09-17 18:44:00 +08:00
parent c5e735b2e8
commit 5481cd91c5
2 changed files with 5 additions and 4 deletions

View File

@@ -39,12 +39,12 @@ namespace OpenAuth.WebApi.Controllers
//添加
[HttpPost]
public Response Add(AddOrUpdateSysPrinterPlanReq obj)
public Response<string> Add(AddOrUpdateSysPrinterPlanReq obj)
{
var result = new Response();
var result = new Response<string>();
try
{
_app.Add(obj);
result.Result=_app.Add(obj);
}
catch (Exception ex)