mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
新增打印方案返回id
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user