Commit 046eed59 by wukaiqiang

修改 统计表下载 方式get换为post

parent 124373ab
...@@ -5,6 +5,7 @@ import javax.servlet.http.HttpServletRequest; ...@@ -5,6 +5,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
...@@ -19,7 +20,7 @@ public class DownLoadStatisticsController { ...@@ -19,7 +20,7 @@ public class DownLoadStatisticsController {
@Autowired @Autowired
DownLoadStatisticsService downLoadStatisticsService; DownLoadStatisticsService downLoadStatisticsService;
@RequestMapping(value ="/DownLoadStatistics/downLoadStatisticsService", method = RequestMethod.GET) @PostMapping(value ="/DownLoadStatistics/downLoadStatisticsService", consumes = "application/json")
public void downLoadStatisticsService(HttpServletResponse response, HttpServletRequest request, public void downLoadStatisticsService(HttpServletResponse response, HttpServletRequest request,
@RequestBody ConditionsDetailsInfo conditionsDetailsInfo) { @RequestBody ConditionsDetailsInfo conditionsDetailsInfo) {
try { try {
......
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