Quellcode durchsuchen

修改點三接口

zhuyiyi vor 5 Monaten
Ursprung
Commit
360e47385d
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      SiteCore/taobao/apiHelper.cs

+ 2 - 2
SiteCore/taobao/apiHelper.cs

@@ -121,7 +121,7 @@ namespace SiteCore
             {
                 URL = pUrl,
                 Method = "POST",
-                ContentType = "application/x-www-form-urlencoded",
+                ContentType = "application/json;charset=UTF-8",
                 Postdata = ro_json
             };
             item.PostEncoding = Encoding.UTF8;
@@ -165,7 +165,7 @@ namespace SiteCore
             {
                 URL = pUrl,
                 Method = "POST",
-                ContentType = "application/x-www-form-urlencoded",
+                ContentType = "application/json;charset=UTF-8",
                 Postdata = ro_json
             };
             item.PostEncoding = Encoding.UTF8;