Ver Fonte

海康记录查询

dzx há 2 meses atrás
pai
commit
5c8f3d5f7e

+ 2 - 1
src/main/java/com/xjrsoft/module/hikvision/controller/OutInController.java

@@ -16,6 +16,7 @@ import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
@@ -33,7 +34,7 @@ public class OutInController {
 
     private final IHikvisionDataService hkvisionDataService;
 
-    @PostMapping("/page")
+    @GetMapping("/page")
     @ApiOperation(value="海康记录查询(分页)")
     @SaCheckPermission("outin:detail")
     public RT<PageOutput<HikvisionOutinPageVo>> page(@Valid HikvisionOutinPageDto dto){