|
|
|
@ -82,7 +82,24 @@ namespace Shentun.Peis |
|
|
|
} |
|
|
|
else if (context.Result is EmptyResult) |
|
|
|
{ |
|
|
|
context.Result = new OkObjectResult(ReturnValue.CreateNotFoundInstance()); |
|
|
|
List<string> filterApiUrl = new List<string> { "/api/third/thirdpartypublicinterface/getpatientitems", "/api/third/thirdpartypublicinterface/updatechecknostate" }; |
|
|
|
|
|
|
|
if (filterApiUrl.Contains(context.HttpContext.Request.Path.ToString().ToLower())) |
|
|
|
{ |
|
|
|
ThirdReturn msg = new ThirdReturn |
|
|
|
{ |
|
|
|
code = "200", |
|
|
|
message = "处理成功", |
|
|
|
data = null |
|
|
|
}; |
|
|
|
|
|
|
|
context.Result = new OkObjectResult(msg); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
context.Result = new OkObjectResult(ReturnValue.CreateNotFoundInstance()); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
else if (context.Result is ContentResult) |
|
|
|
{ |
|
|
|
|