⚡优化数据校验
This commit is contained in:
parent
07b4b95732
commit
400aa876df
@ -31,10 +31,6 @@ namespace ZR.Admin.WebApi.Filters
|
|||||||
{
|
{
|
||||||
foreach (var err in item.Errors)
|
foreach (var err in item.Errors)
|
||||||
{
|
{
|
||||||
if (err.ErrorMessage.Contains("JSON"))
|
|
||||||
{
|
|
||||||
return next();
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(msg))
|
if (!string.IsNullOrEmpty(msg))
|
||||||
{
|
{
|
||||||
msg += " | ";
|
msg += " | ";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user