Commit ba92ccdf authored by 赵啸非's avatar 赵啸非

添加应用主题

parent aa1bf72a
......@@ -178,7 +178,11 @@ public class MidSignApiController {
headerMap.put("sign", sign);
//请求转发
String fullUrl = URLUtil.completeUrl(midUrl, midReq.getPath());
log.info("mid url:{}",fullUrl);
String body = HttpUtil.createRequest(Method.POST, fullUrl).headerMap(headerMap, true).body(headerMap.get("body")).execute().body();
log.info("mid resp:"+body);
return Rest.ok(body);
} catch (Exception e) {
log.error("透传请求异常",e);
......
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 to comment