This commit is contained in:
tanghc
2019-07-25 20:34:29 +08:00
parent bf49c68286
commit 9f78eceded
26 changed files with 449 additions and 58 deletions

View File

@@ -49,7 +49,7 @@ namespace SDKCSharp.Client
}
return openHttp.Get(url, header);
}
return this.openHttp.RequestFormBody(url, form, header);
return this.openHttp.PostJsonBody(url, JsonUtil.ToJSONString(form), header);
}
}

View File

@@ -42,7 +42,7 @@ public class OpenRequest {
}
return openHttp.get(url, header);
} else {
return openHttp.request(url, form, header, requestMethod.name());
return openHttp.requestJson(url, JSON.toJSONString(form), header);
}
}
} catch (IOException e) {