This commit is contained in:
lihaifeng 2021-04-13 16:57:37 +08:00
parent 0b0d426b06
commit 11e24d0a2f
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ public class TornaBuilder {
Map<String, String> requestJson =
TornaConstants.buildParams(PUSH, new Gson().toJson(tornaApi), apiConfig);
//获取返回结果
String responseMsg = OkHttp3Util.syncPost(apiConfig.getOpenUrl(), requestJson);
String responseMsg = OkHttp3Util.syncPostJson(apiConfig.getOpenUrl(), new Gson().toJson(requestJson));
//开启调试时打印请求信息
if (apiConfig.isTornaDebug()) {
JsonElement element = JsonParser.parseString(responseMsg);