Commit 32f2774b authored by 赵啸非's avatar 赵啸非

添加站点参数

parent bd548b1c
......@@ -33,7 +33,7 @@ import java.util.Map;
@Slf4j
public class MidSignApiController {
@Value("${mid.midUrl:http://172.15.28.117:9000}")
@Value("${mid.midUrl:http://172.15.28.117:9000/masm_agent/}")
private String midUrl;
@Value("${mid.appId:01C67D56D0630517}")
......@@ -166,6 +166,7 @@ public class MidSignApiController {
JSONObject reqBody = new JSONObject();
reqBody.put("request", request);
//请求转发
// String fullUrl= String.format("",midReq.getPath() );
String fullUrl = UrlBuilder.ofHttp(midUrl).addPath(midReq.getPath()).build();
//String fullUrl = URLUtil.completeUrl(midUrl, midReq.getPath());
// log.info("mid url:{},body:{}", fullUrl, headerMap.get("body"));
......
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