gaodd 3 kuukautta sitten
vanhempi
commit
32acc6189b

+ 2 - 2
src/main/java/com/chinaitop/depot/monitor/controller/PreviewPlaybackController.java

@@ -209,9 +209,9 @@ public class PreviewPlaybackController {
209 209
         * @param PresetsReqDTO
210 210
         * @return
211 211
         */
212
-       @RequestMapping(value="/getPresets", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
212
+       @RequestMapping(value="/getPresets", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.POST)
213 213
        @ApiOperation(value="批量获取监控点的预置点信息", notes = "批量获取监控点的预置点信息")
214
-       public PresetsResDTO getPresets(PresetsReqDTO presetsReqDTO) {
214
+       public PresetsResDTO getPresets(@RequestBody PresetsReqDTO presetsReqDTO) {
215 215
            return hkService.getPresets(presetsReqDTO);
216 216
        }
217 217
 }