Commit 94eb025a by 罗承锋

修改智能平台提交学校参数

parent 9ff83d90
...@@ -580,7 +580,7 @@ public class IntelligenceSendOrder { ...@@ -580,7 +580,7 @@ public class IntelligenceSendOrder {
propertyMap.put("value", setMeal); propertyMap.put("value", setMeal);
Map<String, String> propertyMap1 = new HashMap<String, String>(); Map<String, String> propertyMap1 = new HashMap<String, String>();
propertyMap1.put("name", "学校名称"); propertyMap1.put("name", "学校名称");
propertyMap1.put("value", (String) orderMap.get("order_university_name")); propertyMap1.put("value", (String) orderMap.get("orderUniversityName"));
Map<String, String> propertyMap2 = new HashMap<String, String>(); Map<String, String> propertyMap2 = new HashMap<String, String>();
propertyMap2.put("name", "允许上网终端类型"); propertyMap2.put("name", "允许上网终端类型");
propertyMap2.put("value", universityTerminalType); propertyMap2.put("value", universityTerminalType);
...@@ -1039,13 +1039,13 @@ public class IntelligenceSendOrder { ...@@ -1039,13 +1039,13 @@ public class IntelligenceSendOrder {
} }
} }
List<NameValuePair> qParams = new ArrayList<NameValuePair>(); List<NameValuePair> qParams = new ArrayList<NameValuePair>();
HttpHost proxy = new HttpHost("172.18.101.170", 3128); // HttpHost proxy = new HttpHost("172.18.101.170", 3128);
RequestConfig defaultRequestConfig = RequestConfig defaultRequestConfig =
RequestConfig.custom() RequestConfig.custom()
.setSocketTimeout(500000) .setSocketTimeout(500000)
.setConnectTimeout(500000) .setConnectTimeout(500000)
.setConnectionRequestTimeout(500000) .setConnectionRequestTimeout(500000)
.setProxy(proxy) // .setProxy(proxy)
.build(); .build();
CloseableHttpClient httpclient = CloseableHttpClient httpclient =
HttpClients.custom().setDefaultRequestConfig(defaultRequestConfig).build(); HttpClients.custom().setDefaultRequestConfig(defaultRequestConfig).build();
......
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