Commit f6ff7276 by 黄小葱

修改bug

1 parent 78eb5ffe
......@@ -62,7 +62,7 @@ public class MonitorController {
* @return
*/
@PostMapping(value = "/exporttrackpoint", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
public void exportTrackPoint(@RequestBody @Validated ExpTrackPointModel expTrackPoint) {
public void exportTrackPoint(@Validated ExpTrackPointModel expTrackPoint) {
if (StringUtils.isBlank(expTrackPoint.getExpData())) {
log.info("导出数据为空");
return;
......@@ -101,7 +101,7 @@ public class MonitorController {
* @return
*/
@PostMapping(value = "/exportstaypoint", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
public void exportStayPoint(@RequestBody @Validated ExpStayPointRequest spRequest) {
public void exportStayPoint(@Validated ExpStayPointRequest spRequest) {
if (StringUtils.isBlank(spRequest.getExpData())) {
throw new AdminException("数据为空");
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!