|
@@ -132,12 +132,12 @@ public class ReportWeeklyController {
|
|
132
|
Map<String, Object> modelMap = new HashMap<String, Object>();
|
132
|
Map<String, Object> modelMap = new HashMap<String, Object>();
|
|
133
|
StringBuffer req = new StringBuffer();
|
133
|
StringBuffer req = new StringBuffer();
|
|
134
|
try {
|
134
|
try {
|
|
135
|
- String mon = URLEncoder.encode(reportWeekly, "UTF-8");
|
|
|
|
|
|
135
|
+ String weekly = URLEncoder.encode(reportWeekly, "UTF-8");
|
|
136
|
|
136
|
|
|
137
|
String url = reportPath+"/rotation/report/weekly/save";//省平台周报表接口地址
|
137
|
String url = reportPath+"/rotation/report/weekly/save";//省平台周报表接口地址
|
|
138
|
- String count= HTTPUtils.doGet(url+"?reportWeekly="+mon);
|
|
|
|
|
|
138
|
+ String count= HTTPUtils.doGet(url+"?reportWeekly="+weekly);
|
|
139
|
System.out.println("返回值:"+count+"---"+"请求地址:"+url);
|
139
|
System.out.println("返回值:"+count+"---"+"请求地址:"+url);
|
|
140
|
- System.out.println("请求地址以及参数:--"+url+"?reportWeekly="+mon);
|
|
|
|
|
|
140
|
+ System.out.println("请求地址以及参数:--"+url+"?reportWeekly="+weekly);
|
|
141
|
if(count.contains("Success") || count.contains("200")){
|
141
|
if(count.contains("Success") || count.contains("200")){
|
|
142
|
modelMap.put("status", "success");
|
142
|
modelMap.put("status", "success");
|
|
143
|
modelMap.put("msg", "成功!");
|
143
|
modelMap.put("msg", "成功!");
|