|
@@ -34,7 +34,7 @@ public class RedirectUtil {
|
|
|
String resultString;
|
|
|
try {
|
|
|
Map<String, String> otherMap = new ConcurrentHashMap<String, String>();
|
|
|
- Object result = RedirectUtil.redirectInner(ConfigRedirect, sql_json, otherMap);
|
|
|
+ Object result = RedirectUtil.redirectInner(ConfigRedirect, sql_json, otherMap, request);
|
|
|
if (wrapper) {
|
|
|
JSONObject resultJSON = new JSONObject();
|
|
|
resultJSON.put("Result", "success");
|
|
@@ -64,7 +64,7 @@ public class RedirectUtil {
|
|
|
return resultString;
|
|
|
}
|
|
|
|
|
|
- public static Object redirectInner(ConfigRedirect ConfigRedirect, JSONObject sql_json, Map<String, String> otherMap) throws Exception {
|
|
|
+ public static Object redirectInner(ConfigRedirect ConfigRedirect, JSONObject sql_json, Map<String, String> otherMap,HttpServletRequest request) throws Exception {
|
|
|
String resultString;
|
|
|
String url = ConfigRedirect.url;
|
|
|
String url_ori = url;
|
|
@@ -104,7 +104,7 @@ public class RedirectUtil {
|
|
|
} else {
|
|
|
postString = postBody.toString();
|
|
|
}
|
|
|
- resultString = HttpClientUtil.instance("redirect").post(url, postString, null, ConfigRedirect.headerMap,null,null);
|
|
|
+ resultString = HttpClientUtil.instance("redirect").post(url, postString, null, ConfigRedirect.headerMap,null,request);
|
|
|
}
|
|
|
Object result;
|
|
|
try {
|