cgi接口 调整
This commit is contained in:
@@ -400,6 +400,7 @@ public class HttpClientUtil {
|
||||
//获取响应结果
|
||||
Builder header = wt.request(MediaType.APPLICATION_JSON).header("Content-Type", MediaType.APPLICATION_JSON);
|
||||
response= header.get();
|
||||
int status = response.getStatus();
|
||||
result= response.readEntity(String.class);
|
||||
logger.info("获取消息成功,相应内容如下: " + result);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user