Commit c502deb3 by 罗志长

去除日志

parent 946d14a0
......@@ -37,7 +37,6 @@ public class DemoCommonService {
public HttpRequest buildRequest(String url,String body) {
log.info("接口:{},请求参数:{}",url,body);
HttpRequest request = new SimpleHttpRequest(url, httpClient);
HashMap hashMap = JSON.parseObject(body, HashMap.class);
request.headers(headerUtils.createDemoHeadersOfParams(hashMap));
......@@ -65,7 +64,6 @@ public class DemoCommonService {
private static DemoResponseMessage getResponseMessage(String url, Response response) throws IOException {
Object result = JSON.parse(response.asBytes());
DemoResponseMessage responseMessage = JSON.parseObject(result.toString(), DemoResponseMessage.class);
log.info("接口:{},返回信息:{}", url,JSON.toJSONString(responseMessage));
return responseMessage;
}
......
......@@ -95,7 +95,6 @@ public class HeaderUtils {
.map(e -> e.getKey().concat("=").concat(String.valueOf(e.getValue())))
.collect(Collectors.joining("&"));
System.out.println(paramString);
paramString = paramString + "&SecretKey=" + secretKey;
MessageDigest digest = DigestUtils.getMd5Digest();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment