Browse Source

提交

master
gwbvipvip 8 months ago
parent
commit
c5aeea3406
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      BPA.SAAS.Manage.Application/AExternalPlatform/BaseDto/DtoValidator.cs

+ 3
- 1
BPA.SAAS.Manage.Application/AExternalPlatform/BaseDto/DtoValidator.cs View File

@@ -92,8 +92,10 @@ namespace BPA.SAAS.Manage.Application.AExternalPlatform.BaseDto
}
else
{
var jsonSetting = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore };

retstr = retstr + p.Name + "=" + JsonConvert.SerializeObject(p.GetValue(t, null)) + "&";
retstr = retstr + p.Name + "=" + JsonConvert.SerializeObject(p.GetValue(t, null), Formatting.None, jsonSetting) + "&";
}

}


Loading…
Cancel
Save