LEIYI 1 mês atrás
pai
commit
6e8a8e4e75

+ 1 - 1
OASystem/OASystem.Api/OAMethodLib/APNs/APNsService.cs

@@ -164,7 +164,7 @@ namespace OASystem.API.OAMethodLib.APNs
                 };
                 //var content = new StringContent(JsonSerializerTool.SerializeDefault(notContent), System.Text.Encoding.UTF8, Application.Json);
 
-            var content = new StringContent(System.Text.Json.JsonSerializer.Serialize(notContent));
+                var content = new StringContent(System.Text.Json.JsonSerializer.Serialize(notContent), System.Text.Encoding.UTF8, Application.Json);
 
                 httpRequestMessage.Content = content;